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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...