Splunk Enterprise

splunk spl - exclude multiple values

iherb_0718
Path Finder

Hello 

I have this query that works to exclude IP 5.5.5.5 from the list.

index=blah event.ts_detail=*blahblah* event.src_ip!=5.5.5.5

Now I want to also exclude 5.5.5.6.  What would I append to the syntax to accomplish this?
Basically, if the event.src_IP is 5.5.5.5 OR 5.5.5.6 I don't want it to trigger this alert. 

Labels (1)
0 Karma
1 Solution

to4kawa
Ultra Champion
index=blah event.ts_detail=*blahblah* NOT (event.src_ip IN ("5.5.5.5","5.5.5.6"))

e.g. https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Search#Comparison_expression_opt...

View solution in original post

0 Karma

to4kawa
Ultra Champion
index=blah event.ts_detail=*blahblah* NOT (event.src_ip IN ("5.5.5.5","5.5.5.6"))

e.g. https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Search#Comparison_expression_opt...

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...