Splunk Search

Generate PDF file but NOT email it

philyeo
Explorer

Hi,

I need to be able to generate PDF files of views, which I can get working, but I don't want them emailed. I want to script the generation of the PDF so I can save it somewhere - how do I do this?

ziegfried
Influencer

I've written such a script which fetches the PDF from the REST endpoint. It will be part of a little extension which adds a "Download PDF" link to the actions menu. I'll release this very soon.

Update:

The app is now online: http://splunk-base.splunk.com/apps/26915/pdf-download-extension

It contains a script called "fetch_pdf.py" in the bin folder. You can use this to create and download PDF reports and store them somewhere. For information on how to use it execute:

splunk cmd python fetch_pdf.py --help

dvmodeste
New Member

I have the same issue right now but unable to find the extension for saving the PDF instead of email.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

@dvmodeste This thread is almost 8 years old. You should post a new question describing your problem.

---
If this reply helps you, Karma would be appreciated.
0 Karma

smolcj
Builder

Is this extension still available ? if yes please provide the link. The specified link throws a 404 error

shawngarrettsgp
Path Finder

I'ed be interested in similar functionality as well, I haven't quite found anything on splunk answers that works yet.

0 Karma

watsm10
Communicator

Would this work with the in-built PDF in 5.0?

0 Karma

ziegfried
Influencer

Updated answer.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mastering Threat Intelligence in ES 8.5, Splunk AI Assistant v2, and More from Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...