Triage production log spikes and incidents from the terminal with lnav
Open raw logs, jump to error clusters, query structured fields, and summarize incident clues without shipping data to a separate platform.
Prerequisites
lnav, local or remote log files, terminal access
Installation
Use the upstream install or setup path that matches your environment:
- $ brew install lnav
- $ make
Requirements and caveats from upstream:
- You can SSH into a demo node to play with lnav before installing.
Basic usage or getting-started notes:
filter messages using regular expressions or SQLite expressions;
an example:
Download a statically-linked binary for Linux/MacOS/Windows from the release page
Source: https://github.com/tstack/lnav
Extracted from upstream docs: https://raw.githubusercontent.com/tstack/lnav/HEAD/README.md