Dashboards & Visualizations

Radial Gauge with high values green instead of red

jeremiahc4
Builder

I'm trying to create a radial gauge (or marker or filler I suppose) where the high values are green instead of red (i.e. service availability). I tried something as simple as "gauge successRate 100 99 95" and that did now work. Is this not possible? I'm still running 4.2.2 and yes, I know I should upgrade.

Tags (1)
1 Solution

melting
Splunk Employee
Splunk Employee

You can in an advanced xml view take a look at an example from our docs:

<chart>
  <option name="charting.chart">radialGauge</option>
  <option name="charting.chart.style">minimal</option>
  <option name="charting.chart.rangeValues">[0,100,300,500]</option>
  <option name="charting.gaugeColors">[0x84e900,0xffe800,0xbf3030]</option>

View solution in original post

melting
Splunk Employee
Splunk Employee

You can in an advanced xml view take a look at an example from our docs:

<chart>
  <option name="charting.chart">radialGauge</option>
  <option name="charting.chart.style">minimal</option>
  <option name="charting.chart.rangeValues">[0,100,300,500]</option>
  <option name="charting.gaugeColors">[0x84e900,0xffe800,0xbf3030]</option>

bandit
Motivator

This command should be updated to support reverse ordering of colors out of the box.

0 Karma

jeremiahc4
Builder

So I didn't see this in plain text, but I did get the gist of your answer from your post. The answer is, change the order of the gaugeColors option around making red first, yellow, then green. I now have a dial showing my service availabiltiy where 4 9's is green as it should be.

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...