Dashboards & Visualizations

How to change gauge color based on condition?

mnj1809
Path Finder

Hello,

I've following 4 gauges in a panel and I want to change the color only for "Category:4" gauge based on the below values/threshold of "Category:4" gauge.
Range            Color
0-79               Red
80-99            Yellow
100                Green

mnj1809_1-1667576054271.png

Note: I don't want to change the color of gauges "Category:1", "Category:2","Category:3" (These gauges have different condition/threshold for color)

Thanks for your help in advance.

@ITWhisperer @gcusello 

Labels (1)
0 Karma
1 Solution

mnj1809
Path Finder

Hello,

I've done it by myself. We've to use primarycolor and secondarycolor in the panel search.

View solution in original post

0 Karma

mnj1809
Path Finder

Hello,

I've done it by myself. We've to use primarycolor and secondarycolor in the panel search.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

If the gauges are coded separately, then just select the 4th one in the dashboard editor and select Format->Color Ranges.

If the gauges are part of a trellis then they all must be the same.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...