All Apps and Add-ons

How to change the color of a single fraction value result on Splunk dashboard ?

arunsunny
Path Finder

In default Single value panel color edit on Splunk dashboard its taking the integer value not the fraction one.

My conditions are below.
Availability
Blue 100%
Green > 99.90%

Amber > 99.50%
Red < 99.50%

I tried the rangemap also using the below ones.

| rangemap field=percentage red=0-99.49 yellow=99.50-99.89 green=99.90-99.99 default=blue
| rangemap field=percentage guarded=100.00 low=99.90-99.99 elevated=99.50-99.89 severe=0-99.49

its showing the range correctly but the value of the color is not reflecting.

Please some one help on the above request.

0 Karma

splunker1981
Path Finder

Try defining the precision offset in your XML.

        <option name="numberPrecision">0.00</option>
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...