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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...