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!

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