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!

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 ...