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 Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...