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 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...