Dashboards & Visualizations

My rangemap can not show the right color

flora123
Path Finder

Hello, I used two rangemap in my dashboard.

They all used this at the end.

...| stats count as Num | eval Num=tostring(abs(Num),"commas") | rangemap field=Num severe=1-1000000000000000 default=low

The Num A=359, so it displays red color. The Num B=236,457 , but it is green!

What's worng with them? I am so confused.

Thanks a lot. 😃

My splunk's version is 4.1.6(89596).

Tags (1)
0 Karma
1 Solution

Lamar
Splunk Employee
Splunk Employee

Remove your commas eval and you should be good to go. It's (rangemap) expecting an integer to evaluate not a string.

Hope that helps.

View solution in original post

0 Karma

Lamar
Splunk Employee
Splunk Employee

Remove your commas eval and you should be good to go. It's (rangemap) expecting an integer to evaluate not a string.

Hope that helps.

0 Karma
Get Updates on the Splunk Community!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...