Splunk Search

How to assign colors for a choropleth map based on the range of counts?

abhayneilam
Contributor

Hi,

I have a choropleth map, in which I have count like 0,179, 10, 65, 10

So , I want to put the color red if it is 0, green if it is 1-100, blue if it is 200-500, purple if it is 10000+, etc.

Please help me to get the color based on count range .. Please help !!

Cheers,

meenal901
Communicator

Hi,

Set the colors as below in your xml (change the value as per what you have in the rangemep).

{"1. low":0x00D03E,"2. medium":0xFAFA35,"3. high":0xE2A703, "4. very high":0xD12802}

0 Karma

TonyLeeVT
Builder

Can you provide a working example? Thanks!

0 Karma

araivndswamysai
New Member

base search|rangemap field=count green=0-5 red=5-10 yellow=11-20 default=gray| sort +count |
geom geo_countries
this is my query and I gave {"green":0xFF0000,"yellow":0xFFFF00,"red":0x00FF00} in XML code.
not able to highlight the region based on the color code.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...