NAME
log_munger - Extract structured fields from log records using YAML rule files.
SYNOPSIS
log_munger commands
log_munger help <command>
log_munger munge -r <rule file> [-s <item>] [--raw] [-g <mmdb>]
log_munger enrich -r <rule file> [--raw] [--flat] [--drop-unmatched] [-g <mmdb>]
log_munger explain -r <rule file> [-s <item>] [--raw] [-g <mmdb>]
log_munger test_all [-v]
DESCRIPTION
The command line front end to Log::Munger. Feed it a decoded log record as JSON, NDJSON on stdin, or a raw log line with --raw, and it runs the record through the named rule files, printing the fields the first matching rule captured.
log_munger commands lists every subcommand and log_munger help <command> gives the usage for one. The docs/ directory in the distribution covers the CLI, the rule file format, and writing rule files in full.