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!

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