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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...