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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...