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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...