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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
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 ...