Splunk Search

Radial gauge with precise numbers

juanpavergara
Engager

I can obtain a gauge with the needle pointing to the total events with method=GET and the total being the sum of the events having method=GET and method=POST with the following:

method=GET | stats count as totalGET | appendcols [search method=POST | stats count as totalPOST] | eval totalMethods = totalGET + totalPOST | gauge totalGET 0 totalMethods/2 totalMethods

However the upper limit of the gauge shows 25000 and the total count is 25904. Is there a way to make the gauge show exactly 25904 in the upper limit?

0 Karma

paulbannister
Communicator

Hi There,

I may not have the exact answer you need as we have something similar, what we've done is within the XML dashboard is pass a token from the search into the rangeValues option to set the upper limit, however this does not display the final precise number in the gauge... merely the last whole number then a gap. To resolve this we use the same token to display the upper within the title bar of the gauge

name="charting.chart.rangeValues">[0,$limit$]

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...