Dashboards & Visualizations

Align Single value panel

Usman_Qureshi
New Member

I am looking to middle align the single value panel in my SPLUNK dashboard.

Labels (1)
0 Karma

mmacalik
Explorer

Hello @Usman_Qureshi 

 

There isn't much in your question, but I'm guessing you want to represent some search result in middle of a panel.

You can achieve it ie. by passing the value to token, and using html center the token value as another panel.

Original search can be hidden.

<form>
  <row>
    <panel id="test">
      <table>
        <search>
          <query>
            |makeresults |eval Column="single value" |table Column
          </query>
          <done>
            <set token="value_Token">$result.Column$</set>
          </done>
        </search>
      </table>
    </panel>
  </row>
  <row>
    <html>
      <div><center>Value: $value_Token$</center></div>
    </html>
  </row>
</form>

 

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...