Dashboards & Visualizations

Is there any way to create CSS that can be dynamic based on the values of tokens?

bowesmana
SplunkTrust
SplunkTrust

I know I can use tokens inside CSS within an XML dashboard to automatically change styles through changing settings through tokens, but this does not seem to work if the CSS is loaded via the stylesheet="xx.css" in the dashboard.

Is there any way to create CSS that can be dynamic based on the values of tokens. I'm looking to have user definable colour schemes through colour values defined in config.

 

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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