Dashboards & Visualizations

How to add a label under a radial gauge in a panel?

Ahmedkhalil
Path Finder

I would like to know how to add a label under a radial gauge panel?
I mean I want to set units under the radial gauge panel.

Tags (4)
0 Karma
1 Solution

dineshraj9
Builder

As far as I know this might not be possible : http://answers.splunk.com/answers/25553/how-to-set-radialgauge-text-value.html

But you can try adding a separate html code just below you chart to show the same information -
Here is example in simple xml -

<row>
     <panel>
        <chart>
        <search>
          <query>
          index=_internal source="*splunkd.log"
          ( log_level=ERROR OR log_level=WARN*
          OR log_level=FATAL OR log_level=CRITICAL )
          | stats count as log_events
          | rangemap field=log_events low=1-10000 elevated=10001-30000 default=severe
          </query>
          <earliest>-1h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="charting.chart">radialGauge</option>
      </chart>
      <html>
        <h2 style="text-align:center;"> Label </h2>
        </html>
        </panel>
  </row>

View solution in original post

dineshraj9
Builder

As far as I know this might not be possible : http://answers.splunk.com/answers/25553/how-to-set-radialgauge-text-value.html

But you can try adding a separate html code just below you chart to show the same information -
Here is example in simple xml -

<row>
     <panel>
        <chart>
        <search>
          <query>
          index=_internal source="*splunkd.log"
          ( log_level=ERROR OR log_level=WARN*
          OR log_level=FATAL OR log_level=CRITICAL )
          | stats count as log_events
          | rangemap field=log_events low=1-10000 elevated=10001-30000 default=severe
          </query>
          <earliest>-1h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="charting.chart">radialGauge</option>
      </chart>
      <html>
        <h2 style="text-align:center;"> Label </h2>
        </html>
        </panel>
  </row>
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...