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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...