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
Get Updates on the Splunk Community!

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...

Reminder! Splunk Love Promo: $25 Visa Gift Card for Your Honest SOAR Review With ...

We recently launched our first Splunk Love Special, and it's gone phenomenally well, so we're doing it again, ...