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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...