Dashboards & Visualizations

Panel positioning - two panels side by side where one is split horizontally

pitaszek
New Member

Hi Guys,

I would like to achieve this effect. This it is to be achieved in one dashboard . Please refer to online HTML editor where you can paste below piece of code and see my idea:

<table>
<tbody>
<tr>
<td rowspan="2">line chart/histogram</th>
<td>number value</th>
</tr>
<tr>
<td>number value/pie chart</td>
</tr>
</tbody>
</table>

I'd appreciate any hints on how could I achieve that.

Regards,
W

0 Karma

renjith_nair
Legend

@pitaszek,

Try this run anywhere example and see if it fits your requirement

<dashboard>
  <label>Panel Position</label>
  <row>
    <panel>
      <chart>
        <search>
          <query>index=_*|chart count over index by sourcetype</query>
          <earliest>-15m</earliest>
          <latest>now</latest>
        </search>
        <option name="charting.chart">column</option>
        <option name="charting.chart.stackMode">stacked</option>
        <option name="charting.drilldown">none</option>
        <option name="refresh.display">progressbar</option>
      </chart>
    </panel>
    <panel>
      <single>
        <search>
          <query>|makeresults|eval value=100</query>
          <earliest>-15m</earliest>
          <latest>now</latest>
        </search>
        <option name="colorMode">block</option>
        <option name="drilldown">none</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="useColors">1</option>
      </single>
      <chart>
        <search>
          <query>index=_*|stats count by sourcetype</query>
          <earliest>-15m</earliest>
          <latest>now</latest>
        </search>
        <option name="charting.chart">pie</option>
        <option name="charting.drilldown">none</option>
      </chart>
    </panel>
  </row>
</dashboard>

Output
alt text

---
What goes around comes around. If it helps, hit it with Karma 🙂
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...