Dashboards & Visualizations

How to export dashboard to pdf with variables

gduc
Observer

Hello;

I've searched a few moment and found an answer to my problem...
I'd like to understand why my pdf dashbaords expors show "$field1$" instead of "PE0101" (serveur name) in graph title.

I found this, here on docs.splunk.com/Documentation/ :
=> Splunk/6.5.1/Viz/DashboardPDFs#Limitations_to_PDF_generation
=> Splunk/8.0.3/Viz/DashboardPDFs#Limitations_to_PDF_generation
=> answers/92805/how-to-change-advance-xml-to-simple-xml.html
that it is question of xml format, simple or advanced and variables are not translated into pdf export with advances xml dashboards.

Any way i could satisfy myslef but not really.

Please see in 1st screenshot that everything is OK in the dashboard called "Backbone PING - Etats des Interfaces" using IHM or pdf export.
Please notice in 2nd screenshot that everything is NOT OK in the dashboard called "Backbone PING - Graphes Equipement" using IHM is OK but using pdf export is NOT OK, variables are not set.

I use in both dashboards this kind of personnale xml code
-form script="custom.js"
-set token="timelabel">$label$

I think beeing in advanced xml mode with both dashboards so why the 1st exports variables in pdf and not the 2nd..... ?

Thanks for answers.
alt text

alt text

Labels (1)
0 Karma

gduc
Observer

Hello;

No one can answer me?

Thanks.

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...