How to change y axis values in Splunk?

by darion_leffler , in category: Other , a year ago

How to change y axis values in Splunk?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by ward , a year ago

@darion_leffler 

To change the y-axis values in Splunk, you can use the yaxis option in the config object of your chart. Here is an example of how you can use this option:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<chart>
  <search>
    <query>...</query>
    <earliest>-24h@h</earliest>
    <latest>now</latest>
  </search>
  <option name="charting.axisY.scale">linear</option>
  <option name="charting.axisY.minimumNumber">0</option>
  <option name="charting.axisY.maximumNumber">100</option>
  <option name="charting.axisY.title.text">Custom Y-axis Title</option>
</chart>


The minimumNumber and maximumNumber options set the minimum and maximum values for the y-axis, respectively. The scale option can be set to either linear or log, depending on your needs. The title.text option allows you to specify a custom title for the y-axis.


I hope this helps! Let me know if you have any other questions.

Member

by josh , 4 months ago

@darion_leffler 

To change the y-axis values in Splunk, you can follow these steps:

  1. Open your search in the Splunk search bar.
  2. Click on the Visualization tab to switch to the visualization editor.
  3. Select the chart type you want to use for your visualization from the Chart Visualization menu.
  4. Once the chart is displayed, click on the Edit button (pencil icon) in the top-right corner of the visualization.
  5. In the Visualization Editor, look for the Axis tab or settings related to the y-axis.
  6. Depending on the chart type, you may find options to modify the y-axis scale, minimum and maximum values, axis title, etc.
  7. Adjust the values according to your requirements.
  8. Click on Apply or Save to apply the changes to your visualization.


Note: The specific steps may vary depending on the version of Splunk you are using and the chart visualization you have selected.


Remember to save your modified search or visualization so that the changes are retained for future use.