Lnav on OpenShift

Lnav on OpenShift is a lightweight, zero-configuration log viewer that runs directly inside your containers or pods. It parses multiple log formats automatically, merges them into a single timeline, and gives you fast search and filtering without piping through grep or custom scripts. For engineers tracking down production issues, this means you see all relevant events—application logs, system logs, custom logs—in one stream.

Installing Lnav in OpenShift is straightforward. Add it to your container image or run it as a debug pod. Because Lnav reads from plain files, it works with OpenShift logs mounted from PVCs, ephemeral storage, or sidecar containers. You don’t need a complex logging stack to start. Just attach, run lnav, and watch the timelines appear in real time. The interface lets you jump between timestamp ranges, drill into JSON payloads, or sort by source.

When combined with OpenShift’s native commands like oc logs and oc exec, Lnav acts as a deeper layer, revealing context you would otherwise miss. For teams operating in multi-namespace environments, it helps correlate events across deployments, nodes, and microservices without leaving the shell. This is especially useful during incident response, postmortems, or when tuning performance under load.

Lnav supports SQL-like queries over your log data. In OpenShift, this means you can run structured searches, group by error codes, or aggregate events over time—all inside the terminal. It handles compressed logs, rotates files automatically, and keeps indexing fast even with gigabytes of data. No extra database. No external cluster.

To integrate Lnav with OpenShift CI/CD workflows, bake it into debug builds or operator images. This gives you instant visibility during pipelines, staging tests, or blue-green deployments. For security-conscious environments, Lnav runs entirely in-memory without exposing logs outside the pod unless you choose to export them.

When you need actionable clarity from logs, Lnav cuts straight to it. No fluff. No delay. Just raw, parsed data ready to investigate.

Run Lnav on OpenShift in minutes with hoop.dev—connect, deploy, and see it live without changing your infrastructure.