Splunk Search

How can I change color on pie chart with rangemap?

chadman
Path Finder

I have a pie chart and use | rangemap field=test1 low=0-1 elevated=2-49 severe=50-100. How can I get these colors to map to the green, yellow, and red?

Tags (4)
0 Karma
1 Solution

493669
Super Champion

Use this:

<option name="charting.fieldColors">{"low":0x65A637,"elevated":0xF7BC38,"severe":0xD93F3C}</option>

View solution in original post

0 Karma

493669
Super Champion

Use this:

<option name="charting.fieldColors">{"low":0x65A637,"elevated":0xF7BC38,"severe":0xD93F3C}</option>
0 Karma

chadman
Path Finder

Worked great! thanks.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...