Dashboards & Visualizations

Dashboard PDF Export: How to get the selected date on the dashboard to be displayed on the PDF?

SplunkTrust
SplunkTrust

Hello,

I would like to have the selected date on the dashboard to be displayed on the PDF file when I export it.

Currently in PDF exports I only get the views on my dashboard but nothing to show the user the date that the report was run on.

Anyone has any idea on how I could add that ? I would like to have the date displayed in the footer or maybe have some sort of cover page with the date on it.

Regards,
David

Tags (4)
0 Karma

Builder

You could add a small single value chart to your dashboards / reports with todays date and time in it?

SplunkTrust
SplunkTrust

Yeah that's a good Idea. Although I am looking to have the date in the footer of the document or have some sort of cover page ... Any idea how to do that ?

0 Karma

Builder

Not sure that is really easily manageable , it seems you need to edited the script used to generate pdf:s from/with to make that happen .. here are som links

http://answers.splunk.com/answers/8637/how-to-change-the-default-header-and-footer-in-the-generated-...
https://answers.splunk.com/answers/143291/customize-generated-pdf-header-and-footer.html

The general documentation for creating pdf-generatable dashboards are found here;

http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/DashboardPDFs
http://docs.splunk.com/Documentation/Splunk/latest/Report/GeneratePDFsofyourreportsanddashboards

Builder

It might also be possible to replace all the splunk graphics (logo) with your own ... and build a "footer" that way

SplunkTrust
SplunkTrust

Thank you for the links they were helpful. As I see it is possible to change the svg logo of splunk and replace it with the default logo. The problem would be having the selected search time appear in the footer of the PDF, any Idea how to have that linked to the python script that generates the pdf ?

0 Karma

Explorer

You can edit the alert_actions.conf (etc/system/local)

pdf.footer_enabled = 1
pdf.header_enabled = 1

pdf.header_left =

pdf.header_center = description

pdf.header_right =

pdf.footer_left = logo

pdf.footer_center = title

pdf.footer_right = timestamp,pagination

0 Karma