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!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...