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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...