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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...