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!

[Puzzles] Solve, Learn, Repeat: Unmerging HTML Tables

[Puzzles] Solve, Learn, Repeat: Unmerging HTML TablesFor a previous puzzle, I needed some sample data, and ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

AI for AppInspect

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