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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

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