Skip to content

Instantly share code, notes, and snippets.

View bobbyhubbard's full-sized avatar

hubbardr bobbyhubbard

View GitHub Profile
@kierdavis
kierdavis / vector.toml
Created May 6, 2022 14:43
Vector config for parsing auditd logs
[sources.audit_raw]
type = "file"
include = [ "/var/log/audit/audit.log" ]
read_from = "beginning"
[transforms.audit_parsed]
type = "remap"
inputs = ["audit_raw"]
source = '''
# The format is deceptively complex - it looks like key-value pairs but there's actually a few layers of nesting.