Skip to main content

Module parser

Module parser 

Source

Re-exports§

pub use detect::ResolvedParser;

Modules§

burn
WiX/Burn bootstrapper log parser.
cbs
ccm
CCM/SCCM format parser.
cmtlog
CmtLog format parser.
detect
Format auto-detection.
dhcp
Windows DHCP Server log parser.
dism
dns_debug
Windows DNS Server debug log parser.
dns_types
iis_w3c
IIS W3C Extended log parser.
intune_macos
macOS Intune MDM Daemon log parser.
msi
MSI verbose log parser.
panther
patchmypc_detection
PatchMyPC detection/requirement script log parser.
plain
Plain text fallback parser.
psadt
PSADT Legacy format parser.
registry
Windows Registry export file (.reg) parser.
reporting_events
secureboot_log
Secure Boot certificate update log parser.
severity
simple
Simple/legacy format parser.
timestamped

Structs§

ParsedChunk
Result of parsing a single batch of records with a preselected parser.

Enums§

FileEncoding
Encoding detected from file BOM, used for both initial read and tailing.

Functions§

annotate_error_code_spans
Post-process parsed entries to detect error code spans in messages.
decode_bytes
Decode raw bytes to a String based on the detected encoding. For UTF-16, also normalizes CRLF to LF.
detect_encoding
Detect encoding from the leading bytes of a file.
parse_content
Parse log content that has already been read into memory, auto-detecting its format.
parse_content_with_selection
Parse text content using the backend-owned parser selection.
parse_lines_with_selection
Parse already-split lines using the backend-owned parser selection.