Dashboards & Visualizations
Highlighted

Advanced XML context for radialGauge formatting

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
Highlighted

Re: Advanced XML context for radialGauge formatting

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
Highlighted

Re: Advanced XML context for radialGauge formatting

SplunkTrust
SplunkTrust

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

Thank you!

Highlighted

Re: Advanced XML context for radialGauge formatting

Motivator

Updated my response with proper casing. Glad it helped!