Parsing data in FilterX

Parse CEF, CSV, date, JSON, key=value, LEEF, XML, and Windows Event Log XML data into FilterX dicts, lists, and datetime values.

Parse CEF with FilterX

Parse Common Event Format (CEF) messages into a dict with the parse_cef() FilterX function, and set its pair and value separators.

Parse comma-separated values with FilterX

Split messages along delimiters into lists or dicts with the parse_csv() FilterX function, with examples for Apache logs and message segments.

Parse dates and timestamps with FilterX

Parse date strings into datetime values with the strptime() FilterX function, and set the timestamp of the message with set_timestamp().

Parse JSON with FilterX

Parse JSON strings into FilterX objects with the parse_json() function, then access their fields.

Parse key=value pairs with FilterX

Split key=value pairs, like Postfix or MySQL logs, into a dict with the parse_kv() FilterX function, and handle repeated keys and stray words.

Parse LEEF with FilterX

Parse LEEF 1.0 and 2.0 messages into a dict with the parse_leef() FilterX function, and set its pair and value separators.

Parse Windows Event Log XML with FilterX

Parse Windows Event Log XML into a dict with the parse_windows_eventlog_xml() FilterX function, and see when the parser fails.

Parse XML with FilterX

Parse raw XML into a dict with the parse_xml() FilterX function, and see how elements, attributes, and text values are mapped to dict keys.

Last modified October 5, 2026: Filterx page ordering updates (1d4505aa)