Splunk Search

Having a % to follow number on gauge chart

pglover12
New Member

Current:
| search MachineNumber="01"
| eval PercentComplete= round(((CountSinceLastTaskCompletion)/MaintenanceFrequencyValue)*100,0)
| chart First(PercentComplete) as PercentComplete by MaintenanceTaskName
-15m
now
1

ellipsisNone
0
collapsed
collapsed
collapsed
none
linear
none
linear
none
0
inherit
radialGauge
50
10
area
gaps
[0,80,90,100,110]
none
0.01
default
shiny
["0x53a051","0xf8be34","0xf1813f","0xdc4e41"]
0
0
ellipsisMiddle
standard
none
2
324
1
1
small

Tags (1)
0 Karma

@pglover12 while posting code or data on Splunk Answers make sure you use the code button i.e. 101010 or shortcut Ctrl+K so that special characters do not escape.

Based on the issue description if you want to add % to Radial Gauge please refer to my older answer which does this using Simple XML JS Extension and SplunkJS stack: https://answers.splunk.com/answers/717431/how-can-i-add-a-percentage-sign-to-the-radial-gaug.html

alt text

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...