dissect.target.loaders.log#

Module Contents#

Classes#

LogLoader

Load separate log files without a target.

class dissect.target.loaders.log.LogLoader(path: pathlib.Path | str, parsed_path=None)#

Bases: dissect.target.loader.Loader

Load separate log files without a target.

Usage:

target-query /evtx/* -L log -f evtx

LOGS_DIRS#
static detect(path: pathlib.Path) bool#

Detects wether this Loader class can load this specific path.

Parameters:

path – The target path to check.

Returns:

True if the path can be loaded by a Loader instance. False otherwise.

map(target: dissect.target.Target) None#

Maps the loaded path into a Target.

Parameters:

target – The target that we’re mapping into.