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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...