Crate logcheck_fluent_bit_filter

Crate logcheck_fluent_bit_filter 

Source

Modulesยง

cli
regex_conversion
rules

Structsยง

LogEntry ๐Ÿ”’
Log entry structure matching the Python LogEntry model

Staticsยง

LOGCHECK_DB ๐Ÿ”’
Initialize logcheck database with embedded rules In production, this would load from /etc/logcheck/ or similar

Functionsยง

apply_logcheck_rules ๐Ÿ”’
Apply logcheck rules to a log entry using the modern rule database
create_filtered_entry ๐Ÿ”’
Create a filtered log entry with logcheck metadata
logcheck_demo_json
Test/demo function that adds simple metadata
logcheck_filter_json
Main logcheck filter function for JSON format Returns: Modified JSON record with logcheck metadata, or NULL to drop the record
parse_log_entry ๐Ÿ”’
Parse input record as JSON and extract log entry
to_c_string ๐Ÿ”’
Convert Rust string to leaked C string for Fluent-Bit