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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

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