Lnav Sidecar Injection is the fastest way to add observability to a running service without touching its source code. Instead of baking logs into the app, you inject Lnav as a sidecar directly into the pod or container. The injection mounts Lnav alongside your service, giving you real-time log navigation without downtime.
The mechanism is simple: deploy a sidecar container running Lnav, attach it to the same volume or log stream as the primary service, and configure it to index logs instantly. No redeploy. No image modification. The application stays untouched, but the logs are visible in full context.
Lnav Sidecar Injection works well in Kubernetes environments. The injection step is a yaml patch or a CLI run that adds the Lnav container to the pod spec. For Docker Compose, you add the sidecar definition to your compose file, mapping the log directories. Lnav then provides search, filtering, and structured log parsing on the fly.