Splunk Search

Gauge does not scale in 4.3

jonburt
Engager

Our gauge needs to display from 0 to 1, but after installing 4.3, the scale only shows 0 - 100.

Below is the xml I am using. What am I doing wrong?

<chart>
  <searchName>Apdex_Get_Latest_WB_score</searchName>
  <title>Writeback Score</title>
  <option name="charting.chart">radialGauge</option>
  <option name="charting.chart.rangeValues">[0,.7,0.85,1]</option>
  <option name="charting.chart.style">minimal</option>
  <option name="charting.gaugeColors">[0x84e900,0xffe800,0xbf3030]</option>
</chart>
Tags (1)
1 Solution

Simon_Fishel
Splunk Employee
Splunk Employee

It looks the bug is in parsing out range values that start with a decimal point. I've filed the issue. In the meantime, you can get the ranges you want like this:

<option name="charting.chart.rangeValues">[0,0.7,0.85,1]</option>

View solution in original post

Simon_Fishel
Splunk Employee
Splunk Employee

It looks the bug is in parsing out range values that start with a decimal point. I've filed the issue. In the meantime, you can get the ranges you want like this:

<option name="charting.chart.rangeValues">[0,0.7,0.85,1]</option>

araitz
Splunk Employee
Splunk Employee

See if this answer helps while we continue to improve the JS charting functionality:

http://splunk-base.splunk.com/answers/38135/version-43-using-flash-charting-instead-of-jschart

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...