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.