Splunk Search

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

dlespron
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

ngatchasandra
Builder

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
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...