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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...