Splunk Search

Why are the values on y-axis of my bar chart different than what I have set?

Chinmai
Explorer

I have a bar chart, I need values on the y - axis like 0, 1000000, 2000000, 3000000, .... ,7000000.
I did this by using min max and interval values. but when I add the chart to the dashboard, there it is showing different y axis values other than the above mentioned values even though the min max and interval values were same as before.

Can anyone help me on this?

thanks in advance.

0 Karma

cmerriman
Super Champion

try using charting.axisLabelsY.majorUnit as an option in the simpleXML and set it to 1000000
https://docs.splunk.com/Documentation/Splunk/6.5.2/Viz/ChartConfigurationReference#Area.2C_Bubble.2C...

0 Karma

Chinmai
Explorer

I did that, but no change in result:(. What is actually happening is, on the y-axis, max only 6 values are coming. if I give min 0 and max as 6000000, it is giving me correct data with interval 1000000 as needed but when i increase the max value to 7000000 or 8000000 , interval is also getting increased and giving me result which is only 6 values in the y -axis instead of 7 or 8 values in the y-axis.
Any idea why is this occurring?

0 Karma

cmerriman
Super Champion

i'm not sure. can you share a snippet of your xml when you it is showing an incorrect axis?

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...