Deployment Architecture

Is there any limit for the "NOT" operator?

vikasreddy
Explorer

Hi Team,

I just want to know is there any limit for the "NOT" operator, same like join has? if yes, what is the limit?

Thank you.

Tags (2)
0 Karma

niketn
Legend

While I am not aware of limits for use of NOT, following two points should always be considered:

1) For search performance avoid using NOT, since inclusion is better than exclusion. http://docs.splunk.com/Documentation/Splunk/6.5.1/Search/Writebettersearches#Avoid_using_NOT_express...

2) Both NOT and != are used to exclude results from search, however behavior is different for both. http://docs.splunk.com/Documentation/Splunk/6.5.1/Search/NOTexpressions

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

skoelpin
SplunkTrust
SplunkTrust

The NOT operator does exactly as it sounds.. It will exclude any string after NOT without limits.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...