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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...