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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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