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.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...