# 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.

- Skill: `agentskillexchange/triage-production-log-spikes-and-incidents-from-the-terminal` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/triage-production-log-spikes-and-incidents-from-the-terminal`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/triage-production-log-spikes-and-incidents-from-the-terminal/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/triage-production-log-spikes-and-incidents-from-the-terminal

---


# 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](https://docs.lnav.org/en/latest/usage.html#regular-expression-match) or [SQLite expressions](https://docs.lnav.org/en/latest/usage.html#sqlite-expression);
- an example:
- [Download a statically-linked binary for Linux/MacOS/Windows from the release page](https://github.com/tstack/lnav/releases/latest#release-artifacts)

- Source: https://github.com/tstack/lnav
- Extracted from upstream docs: https://raw.githubusercontent.com/tstack/lnav/HEAD/README.md

## Documentation

- https://docs.lnav.org/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/triage-production-log-spikes-and-incidents-from-the-terminal-with-lnav/)

