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!

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...

Want to Reduce Costs, Mitigate Risk, Improve Performance, or Increase Efficiencies? ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...