Getting Data In

Calculating Windows Server Uptime in % over a month

devsupport
Engager

I'm looking for a clever way to use the Windows "System\System Up Time" perf counter to calculate uptime by % over 30 days. The output could be in the form of a table. Has anyone found a solution to this seemingly simple metric?

Tags (2)
0 Karma

HiroshiSatoh
Champion
0 Karma

devsupport
Engager

I'm already collecting the performance counter. By itself, fairly uninteresting in a single line chart. For example, if a machine is rebooted once per day, the line would have a sawtooth look. I'd like use that counter, calculate the flat part (as downtime) and apply a formula to provide the uptime in % over a period of time like 30 days, last 90 days, last year, etc.

0 Karma
Get Updates on the Splunk Community!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...