Reporting

How to configure a scheduled report to not send an email if no results are found?

reswob4
Builder

I have a search for an event and that search is saved as a report and that report runs every hour. But since that event doesn't happen very often, most of the time I get an email that says:

The scheduled report 'REPORT' has run.

Report:  'REPORT'

View results in Spunk

No results found.

I don't particularly care if no results are found, I just want an email when the report contains results. How do I modify my report so that it doesn't send anything if no results are found?

Is there something on the Advanced Edit page that I can use?

Thanks.

I looked in the following posts, but they haven't been answered.

https://answers.splunk.com/answers/138956/how-can-i-configure-alerts-not-to-send-blank-empty-reports...
https://answers.splunk.com/answers/3343/how-to-not-send-out-empty-report-file-when-there-is-no-data-...
https://answers.splunk.com/answers/54762/no-data-reports-any-way-to-not-send-email.html
https://answers.splunk.com/answers/241836/why-is-my-scheduled-report-producing-emails-with-e.html

0 Karma
1 Solution

reswob4
Builder

Turns out the best way to do this is to make it an alert. Then the actions only happen if results are > 0 (or whatever you set there)

View solution in original post

reswob4
Builder

Turns out the best way to do this is to make it an alert. Then the actions only happen if results are > 0 (or whatever you set there)

woodcock
Esteemed Legend
0 Karma
Get Updates on the Splunk Community!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...