Splunk Search

Reduce SPL OR operator redundancy

torirgee
New Member

I have a query with a bunch of ORs and I want to do something similar to the SQL IN operator, using a list instead or var=this OR var=that a bunch of times. Is there anything in Splunk SPL to reduce OR redundancy?

Tags (3)
0 Karma

niketn
Legend

@torirgee IN Operator is available in Splunk from version 6.6 and above.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
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 ...