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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...