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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...