Building for the Splunk Platform

Download PDF for a Dynamic Dashboard using Python Script


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!


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

but again, no straight answers yet!

0 Karma
Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...