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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...