Alerting

How to trigger alert based on search not found?

DotTest37
Path Finder

I have been using "alerts to email" for a while already,, now I need to create an alert that triggers if a particular message is not seen on certain period.
Basically, I get a confirmation on Splunk via syslog after a script runs on one of my servers, and I need Splunk to tell me if the script didnt run on a particular day.

Thanks

Tags (1)
0 Karma

steven7537
Explorer

If you create your search as a scheduled/saved search, you can tell it to run every hour/day whatever. You can also tell it to send you an email if the results are equal to, greater than, less than, a certain number, i.e 0. You can also set how many times it triggers and alerts this email per search.

carasso
Splunk Employee
Splunk Employee

"... | stats count | search count=0"

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...