Dashboards & Visualizations

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

DavidHourani
Super Champion

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

lmyrefelt
Builder

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

DavidHourani
Super Champion

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

lmyrefelt
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

lmyrefelt
Builder

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

DavidHourani
Super Champion

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

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

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...