Alerting

Query Question

lanmanjs55
Engager

We have a number of alerts set up with Splunk.  One of them monitors the state of VPN's from our Cisco routers.  One of these routers has a couple of VPN's that are actually supposed to be down (until they get traffic sent over them) so we keep getting a false positive on the alert.  This is the query:

splunk query - sourcetype="cisco:ios" AND "down" 

I am VERY new to this and writing queries.  What is the syntax I need to add to this query that will ignore this one particular router?

 

Thank you for any Reply - 

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Add the name of the router to the query.

sourcetype="cisco:ios" AND "down" AND NOT host="name of router"
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Add the name of the router to the query.

sourcetype="cisco:ios" AND "down" AND NOT host="name of router"
---
If this reply helps you, Karma would be appreciated.

lanmanjs55
Engager

Excellent - thank you very much for the Reply.  Looks really easy but it just shows I have a lot to learn.  Much approciated.

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...