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!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...