Dashboards & Visualizations

colors on dashboard

0range
Communicator

How to customize colors on my dashboard? I don't want line "Error" to be blue and "Success" to be red. It's confusing

1 Solution

nfilippi_splunk
Splunk Employee
Splunk Employee

To add to linu1988's answer, I would take a look at "charting.fieldColors" to explicitly associate field names with colors.

If you edit the simple xml source, and find the chart element, add the following chart option:

<option name="charting.fieldColors">{"Error": 0xFF0000,"Success":0x00FF00}</option>

View solution in original post

nfilippi_splunk
Splunk Employee
Splunk Employee

To add to linu1988's answer, I would take a look at "charting.fieldColors" to explicitly associate field names with colors.

If you edit the simple xml source, and find the chart element, add the following chart option:

<option name="charting.fieldColors">{"Error": 0xFF0000,"Success":0x00FF00}</option>

linu1988
Champion

[error,warn,info]
[0xFF0000,0xFFFF00,0x00FF00]

in hiddenchart module/simple xml

for more customization option:
http://docs.splunk.com/Documentation/Splunk/5.0.3/Viz/Chartcustomization

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...