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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...