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!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...