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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...