Hacker News new | ask | show | jobs
by tstack 1526 days ago
The Logfile Navigator (https://lnav.org) is a TUI for viewing log files that can be configured to process structured JSON files. It has quite a few features, like filtering and color coding.

The documentation for writing a format file is here -- https://docs.lnav.org/en/latest/formats.html

The format file tells lnav what common fields are in the log messages and how to format them into plaintext for display. Here's an example configuration for JSON logs -- https://github.com/tstack/fullsail_lnav_config/blob/master/f...