Reputation: 294
In Splunk, how do I set a fixed colour for bars in column chart?
Upvotes: 1
Views: 2851
Reputation: 2651
If you are looking at a SimpleXML dashboard, you need to add something like the following. There should be an Edit XML button on your dashboard/chart.
The following example makes the ERROR column always red, the WARN column always yellow and so-on and so-forth.
<option name="charting.fieldColors">
{"ERROR": 0xFF0000, "WARN": 0xFF9900, "INFO":0x009900, "NULL":0xC4C4C0}
</option>
Upvotes: 2