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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...