Splunk Search

Limitation on number of boolean clauses within search string


Is there a limitation on the number of search boolean clauses (i.e. OR, AND) within a search string?

For example | search 'user1' OR 'user2' OR 'user3' OR ... 'user180'

It seems like the color of OR changes from orange to black after a certain number.

(I know need to figure out a way to shorten string due to blah, blah..)

0 Karma



I don't think there is a limit of boolean clauses you will reach easily. After a while the "syntax highlighting function" simply gives up to highlight the "OR" 's appropriately.

But you really need to figure out a way to shorten the string.
I already found a solution for you. Lookup Tables!


0 Karma
Get Updates on the Splunk Community!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

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

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...