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 at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...