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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...