Hi I'm new to the splunk community I was trying to generate PDF report from the dashboard: Export > Schedule PDF delivery > Send Test Email I got the following error on my email after almost hour of processing: An error occurred while generating the PDF. Please see python.log for details Log shows: 2020-10-07 21:49:44,499 +0300 INFO sendemail:1163 - sendemail pdfgen_available = 1
2020-10-07 21:49:44,499 +0300 INFO sendemail:1309 - sendemail:mail effectiveTime=None
2020-10-07 22:49:44,522 +0300 ERROR __init__:522 - Socket error communicating with splunkd (error=('The read operation timed out',)), path = /services/pdfgen/render
2020-10-07 22:49:44,523 +0300 ERROR sendemail:1170 - An error occurred while generating a PDF: Failed to fetch PDF (SplunkdConnectionException): Splunkd daemon is not responding: ("Error connecting to /services/pdfgen/render: ('The read operation timed out',)",)
2020-10-07 22:49:44,523 +0300 INFO sendemail:1189 - buildAttachments: not attaching csv as there are no results
2020-10-07 22:49:44,957 +0300 INFO sendemail:140 - Sending email. subject="Splunk Dashboard: 'Traffic Dashboard PDF - 7 Days'", results_link="None", recipients="[u'my@email.com']", server="192.168.8.10" And when I clicked on preview PDF in the same page where was the Send Test Email I got the following error after it was processing for almost an hour: Unable to render PDF. Exception raised while trying to prepare "Traffic Dashboard PDF - 7 Days" for rendering to PDF. [HTTP 401] Client is not authenticated Exception raised while trying to prepare "Traffic Dashboard PDF - 7 Days" for rendering to PDF. [HTTP 401] Client is not authenticated Exception raised while trying to prepare "Traffic Dashboard PDF - 7 Days" for rendering to PDF. [HTTP 401] Client is not authenticated Exception raised while trying to prepare "Traffic Dashboard PDF - 7 Days" for rendering to PDF. [HTTP 401] Client is not authenticated Exception raised while trying to prepare "Traffic Dashboard PDF - 7 Days" for rendering to PDF. [HTTP 401] Client is not authenticated Exception raised while trying to prepare "Traffic Dashboard PDF - 7 Days" for rendering to PDF. [HTTP 401] Client is not authenticated Exception raised while trying to prepare "Traffic Dashboard PDF - 7 Days" for rendering to PDF. [HTTP 401] Client is not authenticated We have deployed Splunk with 8(4x2)CPU and 16GB memory. And I noticed whenever I generate pdf or search something the CPU goes to 100%... Is this the problem ? And why Splunk consuming so much CPU ?
... View more