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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...