Alerting

Alert whenever the devices is not sending traffic logs to splunk.

jlayson
New Member

index=pan* dvc_name="*" sourcetype="pan:traffic" OR sourcetype="pan:system"

how can I trigger an email alert if example 1 or multiple devices are not sending traffic logs after 24hrs. I tried using the alert with condition number of results but it's not sending logs. because splunk counts the result not by device and by logs it added all the results.

Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

You must have a list to which you can compare your search results (for example - stored in a lookup, or generated from results from the day before).

Splunk cannot tell you what is not in the results.

0 Karma

ppudota1
New Member

try this

 

index=pan* dvc_name="*" sourcetype="pan:traffic" OR sourcetype="pan:system" | stats count by dvc_name | where count=0

 

in the alert condition select if number of results>0

0 Karma
Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...