October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk4 min

PsLogList: How to Read and Filter Windows Event Logs from the Command Line

PsLogList is a Sysinternals command-line event-log reader for local and remote Windows logs, with filters for time, event IDs, sources, and event types.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

PsLogList is a free Microsoft Sysinternals command-line utility for reading Windows Event Log records. It can display local or remote logs, filter records by time, event ID, source, or event type, and format output as delimiter-separated lines for text processing. Its -w option follows new events on the local computer; its -c option clears a log after displaying it, so use that option only when clearing is intentional.

What PsLogList does

PsLogList is part of Microsoft’s PsTools utilities. Microsoft lists version 2.82, released March 30, 2023, with the description “Dump event log records.” It uses the Windows Event Log API to retrieve records and loads message-source modules on the computer where the viewed log resides, helping display event messages correctly.

As an Amazon Associate I earn from qualifying purchases.

It is a command-line reader, not a graphical replacement for every Event Viewer workflow. It is useful when you want to inspect logs from a terminal, apply filters, query remote computers, or send delimited output into another workflow.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install it and read a local log

Microsoft’s documented setup is to copy PsLogList to a directory on your executable path and run psloglist. With no log argument, it displays the local computer’s System Event Log in a visually formatted view.

To request a particular log, add its name as the event-log argument. For example, psloglist Application requests the local Application log. The documented platform scope is Windows 8.1 and higher on client systems, and Windows Server 2012 and higher on servers.

Query a remote computer

Put the remote computer name, prefixed by two backslashes, before the event-log name:

psloglist \SERVER01 System

PsLogList uses the current credentials by default. If they do not permit event-log access, the documented -u option supplies an alternate username; -p can supply a password. Microsoft describes remote access with alternate credentials as one of the utility’s distinguishing capabilities. Use those options in line with your organization’s credential-handling practices.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
psloglist \SERVER01 -u DOMAINuser System

To query multiple computers, use a comma-separated computer list or provide a file of computer names with @file, as shown in the documented syntax. The -w live-follow option is limited to the local system.

Filter records to find relevant events

PsLogList supports date boundaries, relative time windows, event IDs, event sources, and event-type filtering. Combine filters with the log name to narrow the records returned.

Goal Option Meaning
Start at a date -a mm/dd/yy Show records after the specified date.
Stop at a date -b mm/dd/yy Show records before the specified date.
Limit by recent time -m #, -h #, or -d # Restrict to the previous number of minutes, hours, or days.
Limit record count -n # Show only the specified number of most recent entries.
Include event IDs -i ID[,ID...] Include the specified event IDs; up to 10 IDs are supported.
Exclude event IDs -e ID[,ID...] Exclude the specified event IDs; up to 10 IDs are supported.
Include sources -o source[,source...] Include the specified event sources.
Omit sources -q source[,source...] Omit the specified event sources.
Filter event types -f filter Filter by event type, for example warnings.

For example, to examine recent System log entries from a server while limiting the result to a small number of recent records, use:

psloglist \SERVER01 -d 1 -n 50 System

Here, -d 1 selects the previous day and -n 50 limits output to the 50 most recent entries. For date-based queries, the documented date form is month/day/two-digit-year; use dates appropriate to that format.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Export delimited output for text processing

Use -s to emit one record per line with comma-delimited fields. Use -t to change the delimiter when a different separator better suits a search or ingestion workflow:

psloglist -s -t "|" System

This is delimiter-separated text intended to make records easier to search or ingest. The documentation describes comma-delimited fields, but does not establish that the output is a fully escaped CSV format; verify how your downstream tool handles delimiters and field contents before treating it as a general-purpose CSV interchange file.

Follow new events or change output order

Use -w to wait for new events as they are generated. Microsoft documents this mode for the local system only, so it is not a remote live-follow option.

By default, records are displayed in the utility’s normal ordering; -r lists them from least recent to most recent. Use -x when you need extended event data included.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the clear option with care

The -c option clears the event log after displaying it. It is a destructive administrative action, not simply an output or filtering switch. Leave it out for ordinary log review, and use it only when clearing the selected log is explicitly intended.

When to use PsLogList instead of another workflow

PsLogList is a practical choice for command-line log review, repeatable filters, remote queries with alternate credentials, and simple delimited output. For graphical exploration, Event Viewer remains a distinct interface. PowerShell’s Get-WinEvent and centralized log collectors are alternatives to consider when your workflow needs their respective scripting, query, or collection capabilities. The appropriate choice depends on whether you need local or remote scope, credential handling, filtering, automation, live following, message rendering, or a read-only workflow.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.