Dashboards & Visualizations

How to modify the size of chart in dashboard?

jdagenais
Explorer

I would like to reduce the size of the chart in the dashboards (Splunk 4.1.5) to add more charts.

I am using the default xml like:

<?xml version='1.0' encoding='utf-8'?> <dashboard>   <!-- NOTE: This file was automatically generated by Splunk.  Use caution when editing manually.
-->   <label>Today's Metric</label>   <row>
    <chart>
      <searchName>Report - Save Reference Transaction - Count</searchName>
      <title>Save Reference Transaction - Count</title>
      <option name="drilldown">all</option>
    </chart>
    <chart>
      <searchName>Report - Save Reference Transaction - RT</searchName>
      <title>Save Reference Transaction - RT</title>
      <option name="drilldown">all</option>
    </chart>   </row> </dashboard>
Tags (1)

ziegfried
Influencer

You can add the width and height options to charts:

<chart>
...
  <option name="width">50px</option>
  <option name="height">50px</option>
...
</chart>

Although you won't be able add more than 4 (IIRC) elements in a row.

sistemistiposta
Path Finder

I downvoted this post because this doesn't work... or it doesn't work no more.
chart doesn't allow width.

0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...