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
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...