dissect.target.plugins.os.unix.log.helpers¶
Module Contents¶
Functions¶
Iterator reading the provided log file in ISO format. Mimics |
|
Determine if the provided log file uses ISO 8601 timestamp format logging or not. |
Attributes¶
- dissect.target.plugins.os.unix.log.helpers.log¶
- dissect.target.plugins.os.unix.log.helpers.RE_TS¶
- dissect.target.plugins.os.unix.log.helpers.RE_TS_ISO¶
- dissect.target.plugins.os.unix.log.helpers.RE_LINE¶
- dissect.target.plugins.os.unix.log.helpers.iso_readlines(file: pathlib.Path, max_lines: int | None = None) collections.abc.Iterator[tuple[datetime.datetime, str]]¶
Iterator reading the provided log file in ISO format. Mimics
year_rollover_helperbehaviour.
- dissect.target.plugins.os.unix.log.helpers.is_iso_fmt(file: pathlib.Path) bool¶
Determine if the provided log file uses ISO 8601 timestamp format logging or not.