Splunk Dev

Why is our daily scheduled report suddenly no longer producing a PDF with the following errors in python.log?

Navanitha
Path Finder

I have a scheduled report that runs daily producing a PDF document. Till now, the report was running well and the PDF was generated, but since the past few days, I am getting following error:

An error occurred while generating the PDF. Please see python.log for details.

And the logs say,

ERROR   __init__:477 - Socket error communicating with splunkd (error=The read operation timed out), path=xxxxx
2015-08-21 11:31:32,453 -0400 ERROR pdfgen_endpoint:223 - Exception raised while trying to prepare "test report " for rendering to PDF. Splunkd daemon is not responding: ('Error connecting to /xxx/xxx/search/search/parser: The read operation timed out',)
2015-08-21 11:31:32,453 -0400 ERROR pdfgen_endpoint:229 - No views prepared without exceptions. Bailing out of Integrated PDF Generation.
2015-08-21 11:31:32,481 -0400 ERROR sendemail:964 - An error occurred while generating a PDF: Failed to fetch PDF (status = 400): Unable to render PDF.

Can someone please help me solve this.

Thanks,
Navanitha.

skoelpin
SplunkTrust
SplunkTrust

Looks like your report is taking too long to generate and the search is expiring.

How long does your search take to complete?

If this is the issue then you will need to accelerate the report

Navanitha
Path Finder

My search hardly takes less than a minute to complete.

skoelpin
SplunkTrust
SplunkTrust

Have you tried restarting the splunkd service?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

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 ...