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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...