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 Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...