Splunk Search

Negate using the IN operator?

karadikid
Engager

Might be a silly question, given the IN search command, is it possible to negate the query using NOT?

For example:

... error_code NOT IN (400, 402, 404, 406) | ...

 

Labels (1)
Tags (2)
0 Karma
1 Solution

ITWhisperer
Legend
... NOT error_code IN (400, 402, 404, 406) | ...

View solution in original post

ITWhisperer
Legend
... NOT error_code IN (400, 402, 404, 406) | ...

View solution in original post

Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!