Dashboards & Visualizations

How to arrange single values horizontally in a row inside a panel using Simple XML?

danoconnl
Explorer

I have a panel that I would like to create, the top is a 90th percentile speed of the operation, underneath in a row I'd like to have the max, avg, and perc99, and then underneath that I'd like to have the total number of operations, so:

90th perc
max avg perc99
total operations

I'd like to do this in a panel because I'd like to repeat the pattern across in a row for different timings, 15min, 60min, today, yesterday, etc...

0 Karma

cmerriman
Super Champion

try something like this:

  <row>
    <panel>
      <single>
        <search>
          <query>90th perc query</query>
        </search>
      </single>
      <html tokens="true" encoded="true">
        <![CDATA[
        &lt;br/&gt;
        ]]>
      </html>
      <single>
        <search>
          <query>max query</query>
        </search>
      </single>
      <single>
        <search>
          <query>avg query</query>
        </search>
      </single>
      <single>
        <search>
          <query>perc99 query</query>
        </search>
      </single>
      <html tokens="true" encoded="true">
        <![CDATA[
        &lt;br/&gt;
       ]]>
      </html>
      <single>
        <search>
          <query>total operations query</query>
        </search>
      </single>
    </panel>
  </row>

cmerriman
Super Champion

use < and > instead of the "& lt ;" and /& gt;" inside of the CDATA

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...