Splunk Search

7.2.6: How to send a report even when no results are found?

Glasses
Builder

Hi,

I have an audit report I need to run daily.
I need an email daily even if the report shows no results.
The email acts as an indicator that the report was run.
How do I set that up?
Please advise.

Thank you.

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Reports are supposed to send email each time they run, regardless of the number of results.
Perhaps you're referring to alerts, which only send email when they find results. If that's the case, change/copy the alert to a report.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Reports are supposed to send email each time they run, regardless of the number of results.
Perhaps you're referring to alerts, which only send email when they find results. If that's the case, change/copy the alert to a report.

---
If this reply helps you, Karma would be appreciated.
0 Karma

Glasses
Builder

Please convert to an answer and I will accept. Thanks

0 Karma

Glasses
Builder

The issue was a bug with 7.2.6 sendmail.py, upgraded to 7.3 and now I get reports even with no results found.

0 Karma

jkat54
SplunkTrust
SplunkTrust

converted @Glasses

0 Karma

Glasses
Builder

Thanks for the explanation, I thought that was the case, however one of my reports is not sending even when there are no results. Perhaps it is not setup correctly. I will look into it.

0 Karma

Glasses
Builder

Opened a ticket with support. Any time this report has results I get the email, but when no results are found then I get no email. Default behavior for reports is to get the email no matter if results are found or not... mystery.

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