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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...