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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...