Dashboards & Visualizations

How to group multiple panels and place them horizontally within one panel?

splunker1981
Path Finder

Hello all,

Anyone know how to group multiple panels and have them all placed horizontally within one panel? It looks like with the upgrade I did row grouping no longer works. I have a bunch of horseshoe meters that I would like to put in one panel next to each other. When I add the code below it shows each value below one another. I would like to have them next instead of below.

  <row>
    <panel>
      <viz type="horseshoe_meter_app.horseshoe_meter">
        <search>
          <query></query>
      </viz>
      <viz type="horseshoe_meter_app.horseshoe_meter">
        <search>
          <query></query>
      </viz>
    </panel>
  </row>
0 Karma

sbattista
Explorer

hope this helps,
I build out my dashboard panels and then, I edit the XML and remove 
</panel>
</row>
<row>
<panel>

between the panels I want to stack into into one panel. i am on- 8.2.0

0 Karma

cmerriman
Super Champion

this shows, for all single values (you should be able to change them to tables/charts/etc.), searches in one panel on one line, and then the html part breaks it into another row, if wanted. To keep things on one line, you just don't want <row> between the <panel>

  <panel>
      <single>
        <search>
          <query>....</query>
        </search>
        <option name="drilldown">none</option>
      </single>
      <single>
        <search>....</query>
        </search>
        <option name="drilldown">none</option>
      </single>
      <html tokens="true" encoded="true">
        <![CDATA[
        <br/>
       ]]>
      </html>
      <single>
        <search>
          <query>....</query>
        </search>
        <option name="drilldown">none</option>
      </single>
      <single>
        <search>
          <query>....</query>
        </search>
        <option name="drilldown">none</option>
      </single>
      <single>
        <search>
          <query>....</query>
        </search>
        <option name="drilldown">none</option>
      </single>
    </panel>

rjthibod
Champion

I think part of your post got cut off. Can you review it and make sure you completed your thought?

If you are talking about having multiple charts in one row of a dashboard, you would do the following where you would put three charts in one row of the dashboard.

<row>
  <panel>
    <title></title>
    <chart>...</chart>
  </panel>
  <panel>
    <title></title>
    <chart>...</chart>
  </panel>
  <panel>
    <title></title>
    <chart>...</chart>
  </panel>
</row>
0 Karma

jslealdi
Explorer

Can I have a title for the row containing the three panels?

0 Karma

splunker1981
Path Finder

Thanks for the reply. Looks like the issue is with using the horseshoe meter - I tried the code with single value and it does what I would like it to do. Any idea how to get the meter to display next to each other in one panel?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...