Splunk Search

Difference in using IN and = when there is only single value?

Ricco19
Loves-to-Learn

Is there any performance impact when used,

index IN ("windows_server")

OR 

index="windows_server"  ?

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Ricco19 ,

there isn't any difference in the search performances: the IN operator is a simplification in the search writing when there are many values.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...

Major Splunk Upgrade – Prepare your Environment for Splunk 10 Now!

Attention App Developers: Test Your Apps with the Splunk 10.0 Beta and Ensure Compatibility Before the ...

Stay Connected: Your Guide to June Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...