win32evtlog.EvtExportLog

EvtExportLog(Path, TargetFilePath, Flags, Query, Session)

Exports events from a channel or log file

Parameters

Path : str

Path of a live event log channel or exported log file

TargetFilePath : str

File to create, cannot already exist

Flags : int

Combination of EvtExportLog* flags specifying the type of path

Query=None : str

Selects specific events to export

Session=None : PyEVT_HANDLE

Handle to a remote session (see win32evtlog::EvtOpenSession), or None for local machine.

Comments

Accepts keyword args