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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...