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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...