Splunk Search

How to suppress an alert where x=y?

Qerro
Loves-to-Learn

Don't show a result where the src_ip is X and dest_ip is Y 

index=test    host=test  source=test conn_state=sf   | eval src_ip=x and 

Labels (1)
0 Karma

Qerro
Loves-to-Learn

I was trying to do it with an AND and it kept crushing ! 

Your suggestion helped !  Thank you!

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
index=test    host=test  source=test conn_state=sf 
| where src_ip!=x OR dest_ip!=y
0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...