Splunk Search

Negate using the IN operator?

karadikid
Explorer

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
SplunkTrust
SplunkTrust
... NOT error_code IN (400, 402, 404, 406) | ...

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust
... NOT error_code IN (400, 402, 404, 406) | ...
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...