Dashboards & Visualizations

Why is there a scheduled dashboard PDF delivery issue after upgrading to 7.2.6?

swmishra_splunk
Splunk Employee
Splunk Employee

Reports are emailing out fine. Dashboards can be exported to PDFs fine. However anytime we try to send a Dashboard PDF via email (be it a test email or scheduled) no email is sent and we see the following internal log entry. This was working for many months (years?) and suddenly stopped working. And is true for any/all dashboards we have created.

2019-04-25 12:00:00,368 -0400 WARNING sendemail:1398 - search results are empty, no email will be sent

1 Solution

vinkumar_splunk
Splunk Employee
Splunk Employee

This is a known issue in Splunk and this will be fixed in 7.2.7.

Temporary Fix on 7.2.6:

Workaround 1:

Replace$SPLUNK_HOME/etc/apps/search/bin/ sendemail.py (https://sendemail.py/) with the one from version 7.2.5.1.

Workaround 2:

Go to Settings > All configurations > click on the ScheduledView_ that you've enabled "scheduled pdf delivery". The search field will default to "| noop", change it to "| makeresults".

I've done both in my lab environment and both of them are working.

View solution in original post

vinkumar_splunk
Splunk Employee
Splunk Employee

This is a known issue in Splunk and this will be fixed in 7.2.7.

Temporary Fix on 7.2.6:

Workaround 1:

Replace$SPLUNK_HOME/etc/apps/search/bin/ sendemail.py (https://sendemail.py/) with the one from version 7.2.5.1.

Workaround 2:

Go to Settings > All configurations > click on the ScheduledView_ that you've enabled "scheduled pdf delivery". The search field will default to "| noop", change it to "| makeresults".

I've done both in my lab environment and both of them are working.

wryanthomas
Contributor

Seeing this with 7.2.9 in Splunk Cloud. (search is "| noop") Did this not get fixed in 7.2.7?

0 Karma

wfrankl2
Explorer

This worked for me as well as we started experiencing it when moving to 7.2.6. Thanks for having the answer out here!!

0 Karma

wfrankl2
Explorer

Workaround 2 that is. We are cloud so Workaround 1 would be a pain.

0 Karma

Roger_FB
Engager

Many thanks for the Workaround, but Workaround 2 did not work for me.
I will try Workaround 1 once. Can I download the file or the Version somewhere?

0 Karma

vinkumar_splunk
Splunk Employee
Splunk Employee

you can download a different Splunk version, ex: 7.2.5.1 and copy only sendemail.py from 7.2.5.1 and replace it with 7.2.6

Note: Let me know the challenges you're facing with Work Around 2, It should work

0 Karma

Roger_FB
Engager

Hi, okay, workaround 2 works. The reports are sent.

I have only tested the function "Send test mail", and this does not work for me.

Thank you very much for your help.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...