Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Event Log Troubleshooting

Direct answer

The method separates event generation, channel configuration/retention, local query/rendering, forwarding/collection and final interpretation so a failure at one layer is not mistaken for another.

When to use this

Use it when an expected event is missing, Get-WinEvent/wevtutil returns errors, Event Viewer cannot render a message, logs roll over too quickly, or central forwarding disagrees with the source.

First 30 seconds

1. Log missing events → enabled? Get-WinEvent -ListLog <log>.

2. Overwritten → increase size.

3. Security events missing → audit policy (auditpol /get).

4. Event Log service running? Get-Service EventLog.

5. Corrupt log → export, clear, restart service.

Operational verification

provider → channel enabled → log file with space → events kept

Evidence · next step

Collect stage-native evidence and test one low-risk hypothesis before changing logging policy/state.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not clear logs, increase sizes, enable verbose channels or modify audit policy before preserving before-state. Those changes can destroy or materially alter the evidence you are trying to diagnose.

Platform / version applicability
Windows execution, automation and observability
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows execution, automation and observability
Scope / prerequisiteUse it when an expected event is missing, Get-WinEvent/wevtutil returns errors, Event Viewer cannot render a message, l…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

If the event is missing centrally, first query the source. If missing locally, confirm audit/provider conditions and channel retention. If present but query misses it, simplify the filter. If XML is present but message says it cannot be found, treat that as a rendering/resource problem.

Step 2 Known-good, broken and when it is fixed Verify boundary

Known-good means the relevant channel/provider is collecting with sufficient retention, a controlled test produces the expected event/state transition when appropriate and the original incident no longer produces the prior correlated failure events. Broken evidence is provider/channel disabled, overwritten window, timestamp mismatch or repeated event correlated to the failing transaction. The limit of what it shows is that clean logs do not show service health; pair event evidence with the original workload and other state surfaces.

Step 3 Native failure isolation and next-check logic Narrow the fault

Define the incident time window and affected host/service, then query the provider/channel most directly tied to the failing step. Correlate event IDs/activity IDs/process or resource identifiers with the original operation rather than searching only for 'Error'. If expected events are absent, verify channel enabled state, retention/overwrite and collection path before concluding nothing happened. For recurring incidents, save a focused filter or forwarding rule instead of clearing logs as a troubleshooting step.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Generated ≠ retained ≠ queryable ≠ rendered ≠ forwarded ≠ correctly interpreted.
  • Start at the earliest unproven boundary.
  • A message rendering failure can coexist with a valid structured event record.
  • Retention/overwrite can remove old evidence without any provider failure.
  • Central absence is not source absence.
Key checks
  • Get-WinEvent -LogName System -MaxEvents 50 — recent System events
  • Get-WinEvent -FilterHashtable @{LogName='Application';Level=2;StartTime=(Get-Date).AddHours(-1)} — errors last hour
  • Get-WinEvent -ListLog * | ? RecordCount — logs with entries
  • wevtutil gl <log> — log size and retention
ReferenceWhat it is1 section · depth on demand

Core model

Event-log troubleshooting is most reliable when treated as a pipeline. The question is not just “is the event there?” but “was it generated, retained, queryable, renderable, forwarded and interpreted correctly?”

ReferenceHow it works1 section · depth on demand

How it works

Windows Event Log records provider events into channels with provider-specific IDs, levels, keywords and retention policy. Event presence is an observation, not automatic causation; event absence is also weak evidence unless the relevant provider/channel was enabled, retained and queried for the correct time/computer. Time synchronization and forwarded-event latency affect correlation, so use timestamps and stable identifiers across logs.

ReferenceImportant terms & boundaries3 sections · depth on demand

What the evidence shows

Use native structured fields as the durable evidence source. Rendered message strings are useful for humans but can fail when message resource DLLs/providers are absent on a viewing system.

In depth

When the event you need is not there

CauseCheckFix
Log full and set to Do not overwritewevtutil gl Security → retention: true, autoBackupOverwrite as needed or archive; increase size
Log too small — rolled overwevtutil gli Security → oldest record timeIncrease maxSize (wevtutil sl Security /ms:1073741824)
Channel disabledwevtutil gl Microsoft-Windows-TaskScheduler/Operational → enabled: falsewevtutil sl <channel> /e:true
Audit policy not enabledauditpol /get /category:*Advanced audit policy via GPO
Event Log service problemsSystem log errors from EventLog; corrupt .evtxRestart service; move corrupt file away

The wevtutil reference documents listing logs (el), getting configuration and status (gl, gli), setting log properties (sl), querying (qe) and exporting (epl).

C:\> wevtutil gli Security
creationTime: 2026-10-01T06:02:11.000Z
lastAccessTime: 2026-11-27T09:41:02.000Z
lastWriteTime: 2026-11-27T09:41:02.000Z
fileSize: 134221824
attributes: 32
numberOfLogRecords: 241883
oldestRecordNumber: 1022941

Central collection (Windows Event Forwarding)

wecutil qc                     # on the collector
winrm quickconfig              # on sources (or via GPO)
wecutil gr <subscription>      # runtime status per source
WEF problemCheck
Source never appearsGPO Configure target Subscription Manager, WinRM listener, firewall 5985
Source active but no eventsCollector's Network Service needs read access to the source's log (add to Event Log Readers)
Events delayedDelivery optimisation setting (Normal = up to 15 min)

Corrupt log file

The Event Log service cannot simply be stopped while other services depend on it; wevtutil cl <log> /bu:C:\Temp\backup.evtx backs up and clears the log instead. Persistent corruption of .evtx files points to disk problems — check storage events.

*The Security log size and record counters are illustrative values, not a collected event-log inventory.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Event log troubleshooting deals with logs that are missing events, full, corrupted or not forwarded.

Get-WinEvent -ListLog Security, System, Application | Select-Object LogName, MaximumSizeInBytes, RecordCount, LogMode, IsEnabled
wevtutil gl Security
wevtutil sl Security /ms:1073741824          # 1 GB
auditpol /get /category:*
Get-Service EventLog, Wecsvc
wecutil gr <subscription>                    # WEF subscription status
SymptomCause
Expected security events missingAudit policy not enabled (use Advanced Audit Policy)
Old events gone quicklyLog too small, overwrite mode
Events not reaching collectorWEF subscription, WinRM, permissions (Event Log Readers)
Event Viewer errors opening logCorrupted .evtx; clear after export

Check effective audit policy with auditpol — GPO settings and local settings can conflict.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows execution, automation and observability current

Authoritative/upstream documentation reviewed for bounded claims in Event Logging → Event Log Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/win32/wes/windows-event-log · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
event log troubleshootingget-winevent no eventsevent viewer missing eventswef missing events
Embedded reference data

Quick lookup tables

Event Logging → Event Log Troubleshooting reference map

Fast lookup boundaries for Event Logging → Event Log Troubleshooting.

BoundaryMeaningEvidence limit
GenerationProvider emitted eventrequires effective audit/provider behavior
RetentionChannel kept recordsize/overwrite can remove it
QueryClient can retrieve recordfilter/access can hide it
RenderingMessage resources resolvestructured XML may still be valid
ForwardingCollector receives copyseparate source/transport boundary
Confirmation

Confirm action

Continue?