Archive
Highlighted

Can someone please see my example and help me to combine the two panels using layoutpanel?

Path Finder

Here is my current code below -

<dashboard>
  <label>Dashboard Title</label>
  <description/>
  <row>
    <panel>
      <chart>
        <title>Title1</title>
        <searchString>Search1</searchString>
        <earliestTime>@d</earliestTime>
        <latestTime>now</latestTime>
          <fields>["host","source","sourcetype"]</fields>
      </chart>
    </panel>
    <panel>
      <single>
        <title>Title2</title>
        <searchString>Search2</searchString>
        <earliestTime>@d</earliestTime>
        <latestTime>now</latestTime>
        <option name="drilldown">none</option>
        <option name="afterLabel">MINUTES</option>
        <option name="linkView">search</option>
        <option name="refresh.auto.interval">64</option>
      </single>
    </panel>
</row>
</dashboard>
0 Karma
Highlighted

Re: Can someone please see my example and help me to combine the two panels using layoutpanel?

Hi dlespron,

If i understand your problem well,there is a concept of Row Grouping in simplexml. Here is an example of a row with one panel which has two visualizations in it.

 <dashboard>
   <row grouping="2">
     <chart>
       ...
     </chart>
     <single>
       ...
     </single>
   </row>
 </dashboard>

Just apply to your dashboard view.

0 Karma