Reporting

Export to PDF not working after upgrade to splunk 8.0.1

afacademy
Observer

After recently updating our single Splunk instance from version 7.3 to version 8.0.1, the export to PDF function has stopped functioning. Exporting to CSV, XML and JSON all still work.

In the application, after running a search or report and selecting the "export to PDF" function, here is the output:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
Could not parse xml reply (no reply from script). See splunkd.log for more info.

When I look in the splunkd.log file, I see this:

ERROR ScriptRunner - stderr from '/opt/splunk/bin/python2.7 /opt/splunk/bin/runScript.py pdfgen_endpoint.PDFGenHandler': fips_md.c(146): OpenSSL internal error, assertion failed: Digest update previous FIPS forbidden algorithm error ignored

Everything else appears to have updated fine. On a possible unrelated note, the "Splunk Platform Update Readiness App" never finishes scanning the applications even with "everyone" having write access.

Labels (1)
0 Karma

jberwick_splunk
Splunk Employee
Splunk Employee

Try this for a workaround.

Create a restmap.conf in the etc/system/local

Add the following

[script:pdfgenHandler]
python.version = python3 

Restart Splunk

Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...