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!

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 ...