Reporting

Suppress email from scheduled search if search is empty

kagouros1
Explorer

Hi,

is there a way to suppress sending mails from scheduled searches if these are empty besides writing my own script.

Best Regards,

Konstantin

Tags (1)
0 Karma

linu1988
Champion

Use the alert condition "if number of events" > 1 in the Splunk UI.

You can also add the below condition to the savedsearch.conf as well:

quantity = 1
relation = greater than

Thanks

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 ...