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>
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>