Reporting

Web framework apps and PDF reports

helge
Builder

I know that I cannot generate PDFs of HTML aka web framework dashboards (documented here). That is really unfortunate because customers want that functionality.

If I am not mistaken the only option I have is to rebuild those dashboards I need as PDF reports in Simple XML (as far as that is possible) and then use the Simple XML for reports. That of course means that part of the work needs to be done twice.

Is my assumption correct? What is the best practice regarding HTML dashboards and PDF reports?

0 Karma
1 Solution

mgroves_splunk
Splunk Employee
Splunk Employee

Your assumptions are correct, there is not a direct way to produce PDF reports from within the HTML pages of the Web Framework.

Depending on your requirements, you can mix SimpleXML Pages with HTML Pages within your applications. These SimpleXML pages will still support PDF reports. My suggestion would be to build the pages required for PDF using SimpleXML.

View solution in original post

mgroves_splunk
Splunk Employee
Splunk Employee

Your assumptions are correct, there is not a direct way to produce PDF reports from within the HTML pages of the Web Framework.

Depending on your requirements, you can mix SimpleXML Pages with HTML Pages within your applications. These SimpleXML pages will still support PDF reports. My suggestion would be to build the pages required for PDF using SimpleXML.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

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

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...