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!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...