Dashboards & Visualizations

How to change the dashboard's background color using dark.css without changing my gauge's range color?

htkwan
Path Finder

Hello,

I've read the forum. I found that one can change the dashboard's background color using the dark.css.

  1. Add form tag "stylesheet=dark.css"

alt text

  1. Found that the gauge's range has changed to black, too. Pls. advise how to correct this.

alt text

  1. Please advise what CSS file the dashboard uses.
0 Karma

mrgibbon
Contributor

Hi, Old post I know. But you can find out the CSS that the page is using by looking at the source.
Its right at the top and will look like this:
form stylesheet="dark.css" autoCancelInterval="90" isVisible="true" objectMode="SimpleDashboard" onunloadCancelJobs="true" refresh="300"
:)

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...