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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...