Skip to content
Please update to the latest release 0.77.2 to address Multiple CVEs.
parse_evtx

parse_evtx

Plugin
Arg Description Type
filename A list of event log files to parse. list of OSPath (required)
accessor The accessor to use. string
messagedb A Message database from https://github.com/Velocidex/evtx-data. string
workers If specified we use this many workers to parse the file in parallel (default 1). int64

Required permissions: FILESYSTEM_READ

Description

Parses events from an EVTX file.

This plugin parses windows events from the Windows Event log files (EVTX).

A windows event typically contains two columns. The EventData contains event specific structured data while the System column contains common data for all events - including the Event ID.

You should probably almost always filter by one or more event ids (using the System.EventID.Value field).

Example

SELECT System.TimeCreated.SystemTime as Timestamp,
       System.EventID.Value as EventID,
       EventData.ImagePath as ImagePath,
       EventData.ServiceName as ServiceName,
       EventData.ServiceType as Type,
       System.Security.UserID as UserSID,
       EventData as _EventData,
       System as _System
FROM watch_evtx(filename=systemLogFile) WHERE EventID = 7045