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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...