dissect.target.loaders.log¶
Module Contents¶
Classes¶
Load separate log files without a target. |
- class dissect.target.loaders.log.LogLoader(path: pathlib.Path, parsed_path: urllib.parse.ParseResult | None = None)¶
Bases:
dissect.target.loader.LoaderLoad separate log files without a target.
Usage:
target-query /evtx/* -L log -f evtx- LOGS_DIRS: Final[dict[str, str]]¶
- options¶
- static detect(path: pathlib.Path) bool¶
Detects wether this
Loaderclass can load this specificpath.- Parameters:
path – The target path to check.
- Returns:
Trueif thepathcan be loaded by aLoaderinstance.Falseotherwise.
- map(target: dissect.target.target.Target) None¶
Maps the loaded path into a
Target.- Parameters:
target – The target that we’re mapping into.