All Apps and Add-ons
Highlighted

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

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
Highlighted

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

Path Finder

Try defining the precision offset in your XML.

        <option name="numberPrecision">0.00</option>
0 Karma