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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...