Splunk Search

set majorUnit to 0.5 on Yaxis

JYTTEJ
Communicator

How do I set majorUnit to 0.5 on Y-axis?

I know I have the correct command as this is working:

option name="charting.axisLabelsY.majorUnit">2</option

I am really in desparate need to get this working!

Thank you in advance for your help!

Tags (2)
0 Karma

JYTTEJ
Communicator

By help of SPLUNK support I got this to work i simple XML:
(Replace the ( ) with < >)

          (option name="charting.axisY")numeric(/option)

          (option name="charting.axisY.minimumNumber")96.00(/option)

          (option name="charting.axisY.maximumNumber")100.50(/option)

          (option name="charting.axisY.includeZero")true(/option)

          (option name="charting.axisLabelsY.integerUnits")false(/option)

          (option name="charting.axisLabelsY.majorUnit")0.5(/option)

This works in*advanced XML:*

(Replace the ( ) with < >)

These will go under the (module name="HiddenChartFormatter") line in the advanced xml view.

(param name="charting.chart")column(/param)

(!-- Define Min and Max Range of Y axis --)

          (param name="charting.axisY")numeric(/param)

          (param name="charting.axisY.minimumNumber")96.00(/param)

          (param name="charting.axisY.maximumNumber")100.50(/param)

          (param name="charting.axisY.includeZero")true(/param)

(!-- Define Unit --)

          (param name="charting.axisLabelsY.integerUnits")false(/param)

          (param name="charting.axisLabelsY.majorUnit")0.5(/param)
0 Karma

JYTTEJ
Communicator

Not possible - ref answer from SPLUNK support:

Unfortunately splunk does not have a module that will allow you to change the chart settings to decimals. I asked another support engineer well experienced with charting and functionality and he stated that this ability does not exist as of right now. It may be something that will be available in a future release.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...