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

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...