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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

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

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