Logged daily, records the system uptime in seconds.
Systems that should be continuously running showing short uptimes indicate unexpected reboots — possible attack activity or instability.
Monitor for servers with unexpected low uptime values that don't correlate with planned maintenance.
param1param2Computer Starting points — adapt the log source, projected fields and thresholds for your environment.
Event
| where EventLog == "System" and EventID == 6013 // The system uptime is
// EventData holds: param1, param2, Computer
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:System" EventCode=6013
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# The system uptime is — add EventData fields: param1, param2, Computer`
The system uptime is. Logged daily, records the system uptime in seconds.
Event 6013 is written to the System channel by Service Control Manager / Kernel. Logged by default in the System channel; no audit policy required.
Monitor for servers with unexpected low uptime values that don't correlate with planned maintenance.