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 as Code: From Zero to Dashboard

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

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...