Atlantiraptor Docs

parse_evtx

Type: Plugin · Category: parsers

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

Required permissions: FILESYSTEM_READ

Platforms: macOS, Linux, Windows

Source: vql/parsers/event_logs/evtx.go