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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...