Splunk Dev

Download PDF for a Dynamic Dashboard using Python Script

bruceclarke
Contributor

I'm building a dynamic dashboard which our internal teams can log into and see how often different end users are using our product. One of the things that I want to do is schedule a PDF delivery of the dashboard on a certain interval. Since the dashboard is dynamic, I don't have the option of using Splunk's internal PDF delivery feature. That's understandable.

I am hoping to create a separate python script that could handle scheduling and sending an email with the PDF, and use Splunk solely as a means to generate the PDF to send. Does anyone know of a way to get Splunk to generate a PDF from a python script? Does the python API allow for something like this (I didn't see anything in the docs)? I can provide the entire XML that Splunk would need to run.

I realize this might not be possible, but I was hoping to see if anyone has some ideas on how to implement this. Thanks!

newsureman
Engager

It's just so weird that we never had a straightforward answer for this, a similar question is here:

https://answers.splunk.com/answers/306573/how-to-export-a-dashboard-as-pdf-on-demand-from-sp-1.html#...

but again, no straight answers yet!

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...