Alerting

Why is the alert not been triggered as expected?

POR160893
Builder

Hi,

 

I have an alert that is supposed to trigger an email each subsequent day when there are 0 logs in the last 24 hours against a particular search.

 

However, when there ARE 0 logs in the past 24 hours, my alert does not get triggered for some reason.


My alert is as follows:

POR160893_0-1673191517224.pngPOR160893_1-1673191648391.png

 




Can you please help as I do not understand why this alert is not working as expected?


Many thanks!

Labels (4)
Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please share the search itself.

---
If this reply helps you, Karma would be appreciated.

POR160893
Builder

The search is as follows::
index="corp_security" sourcetype="dns_rpz"

The alert should send an email per day for every subsequent day when there are 0 logs in the last 24 hours

0 Karma

PickleRick
SplunkTrust
SplunkTrust
0 Karma

POR160893
Builder

So I need to add “earliest=0 latest=now | stats count” to mr current query? Would that look at just the data for the last 24 hours though?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...