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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

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