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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...