Use it to correlate Windows events with the symptom timeline and determine which component reported what state at which boundary.
Event Log Analysis
Event Log Analysis is the troubleshooting practice of using provider/channel, Event ID, timestamp, payload and correlation as evidence rather than treating one event as root cause.
1. Time window and logs.
2. Filter by level and provider.
3. Correlate events across logs/machines.
4. First error in the sequence.
5. Event ID lookup for the provider.
window → logs → filters → first error → cause
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Troubleshooting path Verify boundary
Symptom/time → relevant provider/channel → event payload/context → correlated events/state → hypothesis → independent verification
Step 2 Common mistakes Narrow the fault
- Filtering by event ID without time window.
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.
- An event records a component observation; event presence is not automatically cause, and absence is not proof nothing happened unless logging/audit/retention/query coverage is proven.
- Keep the symptom, observed state and inferred cause as separate statements.
- Prefer evidence from the first failed boundary over broad configuration changes.
- A successful local check does not automatically prove the next dependency or end-to-end workload.
Get-WinEvent -FilterHashtable @{LogName='System';Level=1,2;StartTime=(Get-Date).AddHours(-24)}— system errors last 24hGet-WinEvent -FilterHashtable @{LogName='Application';Level=1,2;StartTime=(Get-Date).AddHours(-24)}— application errorsGet-ComputerInfo -Property OsName,OsBuildNumber,CsDomain— system contextGet-HotFix | Sort InstalledOn -Desc | Select -First 5— recent updates
ReferenceWhy it matters1 section · depth on demand
Method
Event log analysis approach:
1. Narrow the time window to the incident.
2. Pull Critical/Error/Warning from System and Application, plus role-specific logs.
3. Correlate sources: a disk 153 before an application timeout, a Kernel-Power 41 after a bugcheck 1001, a 4740 lockout before user complaints.
4. Look up event IDs with provider name — IDs are not unique across providers.
5. Export evidence (wevtutil epl) before logs roll over.
$s=(Get-Date '2026-11-05 09:00'); $e=$s.AddMinutes(30)
Get-WinEvent -FilterHashtable @{LogName='System','Application'; Level=1,2,3; StartTime=$s; EndTime=$e} | Sort TimeCreated | ft TimeCreated,LogName,ProviderName,Id,LevelDisplayName -AutoSize
wevtutil epl System C:\Temp\system.evtx
ReferenceImportant terms & boundaries3 sections · depth on demand
What the evidence shows
An event records a component observation; event presence is not automatically cause, and absence is not evidence nothing happened unless logging/audit/retention/query coverage is confirmed.
In depth
Fast, precise queries
Get-WinEvent -FilterHashtable filters on the server side and is much faster than piping everything to Where-Object:
PS C:\> $start = Get-Date '2026-11-27 09:40'; $end = $start.AddMinutes(20)
PS C:\> Get-WinEvent -FilterHashtable @{LogName='System','Application'; Level=1,2,3; StartTime=$start; EndTime=$end} |
Sort TimeCreated | Select TimeCreated, LogName, ProviderName, Id, LevelDisplayName, Message
For one field inside the event, use XPath:
Get-WinEvent -LogName Security -FilterXPath "*[System[EventID=4625] and EventData[Data[@Name='TargetUserName']='alice']]" -MaxEvents 20
wevtutil for export and remote collection
wevtutil qe System /q:"*[System[(Level=1 or Level=2)]]" /c:20 /rd:true /f:text
wevtutil epl System C:\Temp\system.evtx
wevtutil gli Security # size, record count, last write
wevtutil gl Security # retention / max size settings
The wevtutil reference covers querying with XPath (/q), limiting count (/c), text/XML output and exporting logs (epl), also against remote computers (/r).
Correlation method
1. Fix the time window from the user's report (convert time zones; event times are shown in local time but stored as UTC).
2. Pull errors and warnings across System, Application and role logs for that window.
3. Order by time and look for the first error, not the loudest.
4. Confirm with an independent signal (performance counters, application logs, network capture).
Check that the evidence can exist
| Question | Command |
|---|---|
| Is the log big enough to still hold the incident? | wevtutil gli Security → oldest record vs. incident time |
| Is the needed audit category enabled? | auditpol /get /category:* |
| Is an operational channel disabled? | wevtutil gl Microsoft-Windows-TaskScheduler/Operational → enabled: true |
An absent event proves nothing until retention and audit policy are confirmed.
*The Windows event log queries above are illustrative examples, not captured from a lab or production system.*
Useful queries
Get-WinEvent -FilterHashtable @{LogName='System'; Level=1,2; StartTime=(Get-Date).AddHours(-24)}
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4625} -MaxEvents 50
wevtutil qe System /c:20 /rd:true /f:text
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Windows Troubleshooting → Event Log Analysis. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/troubleshoot/windows/ · confidence 94%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.
Quick lookup tables
Windows Troubleshooting → Event Log Analysis reference map
Fast troubleshooting boundaries for Windows Troubleshooting → Event Log Analysis.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Symptom | What the user/workload reports | Starting point, not root cause |
| Local state | What Windows reports at this boundary | Does not prove adjacent dependency |
| Correlated evidence | Multiple sources agree in one timeline | Strengthens hypothesis, not automatic causation |
| Verification | Original test succeeds after controlled change | Required to close the troubleshooting loop |