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!

Blueprints for High-Maturity Operations: Splunk Lantern Articles on SOAR, ES 8.4, ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Simplifying the Analyst Experience with Finding-based Detections

    Splunk invites you to an engaging Tech Talk focused on streamlining security operations with ...

[Puzzles] Solve, Learn, Repeat: Word Search

This challenge was first posted on Slack #puzzles channelThis puzzle is based on a letter grid containing ...