Skip to content
UPSmonitor 247-IT

247-IT Guide

UPS shutdown in the Windows event log: event IDs for your SIEM

An emergency shutdown that only exists in a log file on the host is invisible to the operations centre. The UPS Hyper-V Shutdown Monitor therefore writes its most important events with fixed event IDs to the Windows Application log, where Microsoft Sentinel, Splunk, Graylog, Wazuh or a PRTG sensor pick them up without additional agents. Which numbers exist, which ones deserve an alert, and what the queries look like.

01 Starting point The channel that still writes when the network is gone.

Why the event log is the most reliable integration point

In a power outage, the first things to go are usually the ones alerts depend on: the switch to the internet router, the mail server, the Teams connection. An event in the local Windows log needs none of them. It is written the moment the service makes its decision and stays on disk until the host is back. The agent that forwards it catches up afterwards. Four reasons why the event log comes first in a SIEM integration:

  1. No new transport path — Sentinel via the Azure Monitor Agent, Splunk via the Universal Forwarder, Elastic via Winlogbeat, Wazuh via its agent, Graylog via Sidecar with Winlogbeat or NXLog: all of them already read the Windows event log. One more log in the collection rule is enough.
  2. Structured fields instead of text search — event ID, category and level (Information, Warning, Error) are managed by Windows itself. A detection rule filters on EventID == 3000, not on a string in the message text.
  3. Survives the loss of the alert channels — email, Teams or SMS can fail because the other end is unreachable. The event is there anyway and is delivered as soon as the collector sees the host again.
  4. Correlation with everything else — in the SIEM the emergency shutdown sits next to the hosts shutting down (system event 1074), the Hyper-V VMMS entries and the logons the next morning. The timeline of an incident comes from one source.
02 Prerequisites Source, log, rights and edition.

Source UpsHyperVShutdown in the Application log

The UPS Hyper-V Shutdown Monitor writes to the Windows Application log under the event source UpsHyperVShutdown. Both are fixed in the code and have to be entered exactly like that in collection rules, queries and filters. There is no separate log under “Applications and Services Logs”.

  1. Registration — the Windows service creates the source on every start if it is missing. That needs local administrator rights once, which it has as LocalSystem. The installer does not register the source itself.
  2. Without rights — if the source cannot be created or is missing, writing fails silently. The service keeps running normally, only the entries are missing. A desktop app without the service does not create the source; it writes events only if a service has registered the source before.
  3. Edition — the events belong to the monitoring integration of the Enterprise edition, together with the health endpoint. Pro licenses activated before September 4, 2026 keep the feature. It is active during the trial.
  4. Two exceptions — the licensing notices 1100 to 1104 are written by every edition, because they explain why something is missing due to the license. The integrity messages 1300 and 1301 belong to Tamper Protection and are written from Pro upwards.
  5. Category as a number — the task category is derived from the number block: 1 Service, 2 Licensing, 3 Monitor, 4 EmergencyShutdown, 5 HostShutdown, 6 Migration, 7 Audit, 8 Integrity. The application registers no category resource file, so Event Viewer shows the number.

The message text is English and follows fixed patterns: UPS events start with UPS '<name>':, host events with Hyper-V host '<name>' (<hostname>), audit events with Remote web interface audit: <type> — user '<user>' from <IP>. These patterns are suitable for extracting UPS name, host or user. The rule itself should still hang on the event ID, because only that is covered by the stability commitment in section 03.

03 Reference As of version 1.12.7 from October 29, 2026.

All event IDs by block

The reference documentation phrases the commitment like this: “Once published, event IDs keep their meaning permanently. A new kind of event gets a new number in the matching block; existing numbers are never reused or repurposed.” The numbers have been in use since version 1.7.15 from August 31, 2026; later versions added blocks and changed none. For some IDs the level depends on state: the same number reports the onset as a warning and the end as information.

Event IDs of the source UpsHyperVShutdown (source of truth: WindowsEventId in the code)
ID Level Edition Meaning
Service · 1000–1099 · category 1
1000InformationEnterpriseService started, license check passed
1001InformationEnterpriseService stopped normally
1002InformationEnterpriseconfig.json changed, monitoring restarts with the new configuration
1003InformationEnterpriseService restart requested via the remote web interface
1004ErrorEnterpriseMonitoring aborted with an unexpected exception, rebuilt after 30 s
1005ErrorEnterpriseService crashed, stops with an error exit code; the recovery options restart it
1006WarningEnterpriseService stop requested during a running emergency shutdown, the stop waits up to 15 min
Licensing · 1100–1199 · category 2
1100ErrorallService blocked, no valid license, no monitoring
1101InformationallLicense valid again, monitoring resumes
1102ErrorallEdition allows only one UPS; further UPS units, hosts or additional servers remain unprotected
1103WarningallRemote web interface enabled but not licensed
1104WarningallMonitoring-only mode configured, Enterprise license status changed at runtime; the mode from start-up applies until the monitor restarts
Web interface audit · 1200–1299 · category 7
1200InformationEnterpriseLogin succeeded (user, IP, role)
1201WarningEnterpriseLogin failed (entered name, IP; the password is not in the event)
1202WarningEnterpriseIP temporarily locked out after too many failed attempts, once per lockout
1203InformationEnterpriseLogout
1204InformationEnterpriseInitial setup completed, first account created
1205InformationEnterpriseAccount created, role or password changed, account deleted
1206InformationEnterpriseSetting saved via the web interface (section and path)
1207InformationEnterpriseAction triggered, such as service restart, self-test, license, configuration backup
1208WarningEnterpriseAccess denied, such as a write attempt by a read-only account
Integrity · 1300–1399 · category 8
1300WarningPro and upTamper Protection: config.json changed outside the application, content does not match the signature; once per changed content
1301InformationPro and upExternal change acknowledged and re-signed, with user; warning if acknowledging failed
UPS monitoring · 2000–2099 · category 3
2000InformationEnterpriseMonitoring of a UPS started (host, protocol)
2001InformationEnterpriseMonitoring of a UPS stopped
2002InformationEnterpriseMains back after a triggered shutdown, monitor re-armed for the next outage
2003WarningEnterpriseMonitoring only: critical threshold reached, deliberately no shutdown
2004Warning / InformationEnterpriseWarning threshold (battery charge, load, temperature, input voltage) exceeded or back in the normal range
2005InformationEnterpriseUPS self-test started, manually or on schedule
2006WarningEnterpriseSelf-test not started: precondition not met or rejected by the UPS
2007Warning / InformationEnterpriseUPS on bypass, load not protected by the battery, or bypass left
2008Warning / InformationEnterpriseActive UPS alarms changed (RFC 1628, Eaton XUPS, NUT ups.alarm), text names the alarms, or all alarms cleared
Emergency shutdown · 3000–3099 · category 4
3000ErrorEnterpriseEmergency shutdown triggered or extended to previously deferred targets; the most important event for alerting
3001InformationEnterpriseRunning emergency shutdown cancelled, mains returned within the abort window
3002ErrorEnterpriseShutdown attempt failed with an unexpected exception, the next poll tries again
Result per host · 3100–3199 · category 5
3100InformationEnterpriseHyper-V host shut down with its VMs (duration in seconds); also for an additional server that reached its own runtime threshold
3101ErrorEnterpriseShutdown of a Hyper-V host failed (error text)
3102ErrorEnterpriseTime budget of a host or shutdown-order group exceeded, the sequence continues in the background
Live migration · 4000–4099 · category 6
4000InformationEnterpriseLive migration of the VMs to a healthy partner node started, instead of a shutdown
4001ErrorEnterpriseLive migration failed

The “Edition” column says who writes the event: “Enterprise” stands for the monitoring integration including the grandfathered Pro licenses mentioned above, “all” for every edition, “Pro and up” for Pro and Enterprise. Web interface events additionally require the interface to be enabled.

04 Alerting A few rules that may wake someone at night.

Which IDs deserve an alert

Not every event with level “Error” belongs on the on-call phone, and not every warning is harmless. A workable split for the first set of rules:

  1. Alert immediately — 3000 emergency shutdown triggered, 4000 live migration instead of shutdown, 1300 configuration changed outside the application, 1005 service crashed. Something is happening right now that people need to know about.
  2. Review within a working day — 1100 and 1102 license blocked or too small, 1104 operating mode and license no longer match, 3101 and 3102 a host was not shut down cleanly, 4001 migration failed, 2007 UPS on bypass, 2006 self-test not started.
  3. As a threshold rule — 1201 more than five failed logins from one IP in ten minutes, every 1202 lockout, every 1208 access denied. Single failed attempts are everyday life, clusters are not.
  4. A missing event as a signal — 1000 and 2000 should follow every service start. If 1000 does not appear after a planned restart, the service was not started or the source is missing. If 2002 is still missing days after a 3000, the monitor is not re-armed yet.
  5. History only — 1001 to 1003, 1200, 1203 to 1207, 2001, 2005, 3001, 3100: these entries need no rule, but they make the timeline of an incident readable.

Event 3000 appears once per power outage, plus one entry when a previously deferred UPS or host is shut down after all. Repeated shutdown attempts for the same outage do not produce another 3000. What the shutdown means for domain controllers and why a DC should go last is covered in the guide Active Directory and power outages.

05 Queries Copy and paste, with source and ID instead of text search.

Queries for Sentinel, Splunk, Event Viewer and PowerShell

Microsoft Sentinel. The Azure Monitor Agent delivers the Application log through a data collection rule into the Event table. The fields there are Source, EventID, EventLevelName, EventCategory and RenderedDescription. Include the Application log in the collection rule, otherwise nothing arrives.

// Emergency shutdowns in the last 7 days
Event
| where Source == "UpsHyperVShutdown"
| where EventID == 3000
| where TimeGenerated > ago(7d)
| project TimeGenerated, Computer, EventID, RenderedDescription

// Every error from this source, grouped by ID and category
Event
| where Source == "UpsHyperVShutdown" and EventLevelName == "Error"
| summarize count() by EventID, EventCategory

Splunk. The Universal Forwarder with the Splunk Add-on for Windows files the entries under source="WinEventLog:Application"; the source is called SourceName there, the ID EventCode.

source="WinEventLog:Application" SourceName="UpsHyperVShutdown" EventCode=3000
| table _time, host, EventCode, Message

source="WinEventLog:Application" SourceName="UpsHyperVShutdown"
| stats count by EventCode, Type

Event Viewer. A custom view with an XML filter shows all shutdown events of a host without a SIEM. Under “Create Custom View” choose the “XML” tab and enable “Edit query manually”.

<QueryList>
  <Query Id="0" Path="Application">
    <Select Path="Application">
      *[System[Provider[@Name='UpsHyperVShutdown']
        and (EventID &gt;= 3000 and EventID &lt;= 3199)]]
    </Select>
  </Query>
</QueryList>

PowerShell. For checks on the host or via remoting; the filter hashtable uses the log's index and stays fast even on large logs.

Get-WinEvent -FilterHashtable @{
    LogName      = 'Application'
    ProviderName = 'UpsHyperVShutdown'
    Id           = 3000, 3001, 3002, 3100, 3101, 3102
} -MaxEvents 50 |
  Format-Table TimeCreated, Id, LevelDisplayName, Message -AutoSize -Wrap

Wazuh, Graylog, Elastic, PRTG. For the remaining systems, channel and provider are all you need: channel Application, provider name UpsHyperVShutdown. The Wazuh agent reads the channel in eventchannel format and exposes the ID as a field of the system data; Winlogbeat and NXLog for Graylog or Elastic carry provider, channel and event ID as separate fields. PRTG ships a sensor for the Windows event log that can filter by log, source and event ID (vendor information as of October 2026, PRTG manual). The field names depend on the collector; the numbers from section 03 are the same everywhere.

06 Context Three channels, three jobs.

Event log, health endpoint, alert channels and support bundle

UPSmonitor offers three ways out that do not replace one another:

  1. Health endpoint — /health, /metrics and /prtg deliver the current state on request: level Ok, Warning, Critical or Unknown, battery charge, runtime, host reachability. For dashboards and availability monitoring. Setup in the guide UPS in PRTG, Zabbix and Prometheus.
  2. Alert channels — email, Microsoft Teams, SMS, webhook, SNMP trap report actively to people, in the language of the alert configuration and with a status block. For on-call. See UPS alerts via Microsoft 365, Teams and SMS.
  3. Event log — history with fixed IDs for systems that collect Windows events anyway. For correlation, other teams' rules and evidence.

Support bundle. The export from the desktop app or the web interface contains the file windows_eventlog.txt with this source's events from the last 30 days, each entry with timestamp, level, EventID and category. Two uses: test a SIEM rule offline against real entries before it goes live, and include the sequence of events with a support request without granting access to the system. License keys and configured secrets are removed from the text files before export.

Evidence. Anyone subject to NIS2 or comparable requirements has to detect, handle and document incidents. A time-stamped event with a stable ID, collected and retained centrally, is one building block for that, no more. Which retention, reporting deadlines and evidence apply in your case is a matter for your legal counsel or data protection officer. What else the software brings for signatures, encryption and audit is on the Security page.

07 Checklist Go through it once before the first real outage.

SIEM integration checklist

  1. Source present — after a service restart, event 1000 appears in Event Viewer under Windows Logs, Application. If it is missing, the service was not started as a service or the license does not include the monitoring integration.
  2. Application log in the collection rule — data collection rule, inputs.conf, Winlogbeat or agent configuration include the Application channel; many templates collect only Security and System.
  3. Test event checked — in test mode a triggered emergency shutdown writes event 3000 without sending real commands to hosts; 3100 only appears with a real shutdown. Trigger battery operation in a maintenance window and check that 3000 arrives in the SIEM with source and ID as separate fields.
  4. Rules created — at least 3000, 1300 and 1005 as alerts, 1201 as a threshold, 1100 and 1102 as tickets. Rules hang on the EventID, not on the message text.
  5. Web interface in view — if it is enabled, 1200 to 1208 come along; a read-only account for the operations centre produces 1208 on write attempts.
  6. Retention settled — the local Application log overwrites itself by size; retention in the SIEM follows your own requirements. The support bundle covers 30 days.
  7. After every update — check the release notes for new event IDs; existing numbers stay, new blocks may be added. For the service itself see UPS monitoring without shutdown.
08 Questions Short answers to common questions.

Frequently asked questions

Which edition writes the events to the Windows event log?

The monitoring integration with the blocks service, UPS, emergency shutdown, hosts, migration and audit belongs to the Enterprise edition. Two blocks are written regardless: licensing notices 1100 to 1104 in every edition, integrity messages 1300 and 1301 from Pro upwards. During the 30-day trial all blocks are active. Pro licenses activated before September 4, 2026 keep the monitoring integration.

Why does Event Viewer show no entries from the source UpsHyperVShutdown?

The Windows service creates the source when it starts; that needs administrator rights once, which it has as LocalSystem. If only the desktop app runs without the service, the source is not created and writes fail silently. The second cause is the license: without an Enterprise license only the licensing and integrity blocks appear. Check first whether event 1000 shows up after a service restart.

Do the event IDs change with an update?

The reference documentation commits to this: once published, event IDs keep their meaning permanently, a new kind of event gets a new number in the matching block, and existing numbers are not reused or repurposed. The message text, however, may change. Bind detection rules to EventID and source, not to the text.

Does the event log replace the email or Teams alerts?

No. The event log is passive: someone has to collect and evaluate it, otherwise nobody notices the entry. The alert channels report actively, but need a working network to the outside for that. The two complement each other: the alerts reach the on-call engineer, the SIEM keeps the complete history and correlates it with other sources.

Trace every shutdown in your SIEM

30 days free, every feature included. With fixed event IDs in the Windows event log, a health endpoint for PRTG, Zabbix and Prometheus, and the audit log of the web interface.