Reporting

Would we re-generate the scheduled "pdf delivery" ?

leo_wang
Path Finder

Hi ,
I have a lot of dashboards and has scheduled it as "pdf delivery" for our audit purpose.
But sometimes , the pdf report is not correct because of data forwarding was broken, or our lookup files is not correct at that time...

So I needed to re-generate those pdf report for our auditor after I fixed the data problem.
( For example : Re-generate the daily access report ( each day ) for the last whole month .......... WoW . )

Is it possible to generate the pdf report by script and change the time range dynamically ?
So I can let my report re-generateing job more automatically and easily ..

Thanks.

0 Karma

markbarber21
Path Finder
0 Karma

woodcock
Esteemed Legend

Many people do not know this but you can run searches from the CLI on the Search Head which means that you can easily write a script around it. You just do this:

$SPLUNK_HOME/bin/splunk search "earliest=-10m latest=now index=_*"

When using the CLI, it helps to use the highlight command:

https://docs.splunk.com/Documentation/Splunk/6.5.2/SearchReference/Highlight

0 Karma

cmerriman
Super Champion

have you checked out this answers? using the REST API might help

https://answers.splunk.com/answers/366832/generate-pdf-from-view-in-rest-api.html

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...