GitHub - dloss/klp: Kool Logfmt Parser: a CLI viewer for structured log files in key=value format (and some others)
klp
Kool Logfmt Parser
Viewer for structured log files in key=value format (and some others).
Single file CLI tool without dependencies apart from Python 3.7+ and its standard library.
Features
Select which keys to include or exclude from the output
Quickly view the most important fields: timestamp, log level, message
Restrict output to given log levels, time range or time delta (e.g. since 1h ago)
Grep on the values of given keys, optionally with context lines.
Built-in regexes for URLs, email ...
Read more at github.com