Dashboards & Visualizations

Advanced XML context for radialGauge formatting

Yorokobi
SplunkTrust
SplunkTrust

I have the following entry in one of my advanced XML views/dashboards

        <module name="HiddenSearch" autoRun="True">
            <param name="search">index=jmx tag=AMQ | stats max(QueueSize) as maxqSize | chart eval(round(avg(maxqSize),0)) as qsize | rangemap field=qsize low=0-5000 elevated=5001-10000 default=severe</param>
            <param name="earliest">-5m@m</param>
            <param name="latest">now</param>
            <module name="SingleValue">
                <param name="field">qsize</param>
                <param name="beforeLabel">Avg. Queue Size:</param>
                <param name="classField">range</param>
            </module>
        </module>

I would like to convert the SingleValue/rangemap to a radialGauge but I am unable to determine the proper context for:

<param name="charting.chart">radialGauge</param>
<param name="charting.chart.rangeValues">[0,5000,10000,15000,20000]</param>

... and use the same "earliest" and "latest" or real-time search parameters. The chart formatter modules do not seem to support radialGauge.

0 Karma
1 Solution

emiller42
Motivator

Try something like this inside your hidden search module.

<module name="HiddenChartFormatter">
  <param name="charting.chart">radialGauge</param>
  <param name="charting.chart.rangeValues">[0,5000.10000.15000.20000]</param>
  <module name="FlashChart" />
</module>

View solution in original post

0 Karma

Yorokobi
SplunkTrust
SplunkTrust

With a couple of edits (FlashChart instead of flashChart) it works, now I just have to change its default size.

Thank you!

emiller42
Motivator

Updated my response with proper casing. Glad it helped!

emiller42
Motivator

Try something like this inside your hidden search module.

<module name="HiddenChartFormatter">
  <param name="charting.chart">radialGauge</param>
  <param name="charting.chart.rangeValues">[0,5000.10000.15000.20000]</param>
  <module name="FlashChart" />
</module>
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...