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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

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 ...