Dashboards & Visualizations

Color indication for the single value module

rakesh_498115
Motivator

Hi

can we use the color indication for the single value representation.something like if my singlevalue count exceeds more then 100 then i should get a color red for the entire singlevalue box and for before 100 i need to get a yellow color..

can we define color ranges for the singlevalue plot.or can be it done using speedometers.please help me on this..

Tags (2)
0 Karma
1 Solution

theouhuios
Motivator

Can the rangemap be used in terms of %? Thats my code below where I am trying to change the color of the field UsedSize according to %. Like if it crosses 50% then a light green, crosses 70% then red etc. Also even if I use the same way mentioned as below its still not changing the colors.

earliest=-24h@h latest=@h sourcetype="df" host="$V$" |dedup host| multikv fields Size Used|rex_space| table UsedSize| rangemap field=UsedSize gray=1-30 blue=31-39 red=40-59 default=green
Used Disk Space
range
gaps
stacked100
false

right

0 Karma

campbellj1977
Explorer

Can you post an updated link. The first link "addsinglebutton" is no longer available.

0 Karma

rakesh_498115
Motivator

Thanx for the Info ..:)

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...