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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...