Dashboards & Visualizations

Can I embed a style sheet in a Simple XML dashboard and use the style sheet in the exported PDF?

ranjithfs1
Explorer

I have a few questions about custom style sheets for dashboards.

Instead of specifying the style sheet file name as

<form stylesheet="myStyleSheet.css"> 

can I embed the style sheet in the simple XML document itself? (similar to internal style sheets in HTML)

When I export the dashboard as a PDF, it is not having the styling specified in the custom style sheet? Is this feature not supported or is there some setting that needs to be configured? Any workaround for this issue?

Splunk version: 6.2.6

0 Karma

darrend
Path Finder

Hi

Stylesheets are not supported on PDF's, i've had this frustration before too so i understand your pain. i know of no work around i'm afraid.

Thanks
Darren

0 Karma

eddieyugo
New Member

Damn, i just finished building a custom JavaScript & CSS only to find out that the scheduled PDF;s still use the default css 😞 😞

0 Karma
Get Updates on the Splunk Community!

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Community Feedback

We Want to Hear from You! Share Your Feedback on the Splunk Community   The Splunk Community is built for you ...

Manual Instrumentation with Splunk Observability Cloud: Implementing the ...

In our observability journey so far, we've built comprehensive instrumentation for our Worms in Space ...