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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...