Log File Viewer for the Terminal

wiradikusuma 294 points 47 comments March 24, 2026
lnav.org · View on Hacker News

Discussion Highlights (20 comments)

p0w3n3d

This is almost the thing I want and need. What I need is some sort of TUI grafana - Json log splitter/organizer/finder

asmosoinio

Looks very useful, will give it a go. This resonates with my use of grep+less: https://github.com/tstack/lnav?tab=readme-ov-file#why-not-ju...

guessmyname

Oh yeah! lnav is famous. I remember using it like a decade ago to monitor an array of web servers while at GoDaddy; good ol' times. First commit is from Sep 13, 2009: https://github.com/tstack/lnav/commit/b4ec432515e95e86ec9d71... . Woah! we’re old. This is what the UX looked like back in the day: https://github.com/tstack/lnav/commit/bce2caa654160518ec11f6...

steveharing1

I was looking for something like this, Appreciate it!

brunosutic

I tried lnav about 7-8 years ago and as a terminal junkie I really liked the features. The only breaking thing was a huge (almost bloated) memory consumption. At that time lnav basically just kept everything in memory. Does anyone did that change?

__bax

Must have tool!

elcapitan

> ssh playground@demo.lnav.org Really appreciate this way to demo it quickly, very nice!

yagelar

very nice, definitely will use it

vincentabolarin

This looks genuinely useful.

Sammi

This looks great. I've been using klogg and if you're more into GUI's then I think it's the best there is. It opens and searches in log files of many gigabytes with easy. It's a simple and clean multiplatform QT app. https://github.com/variar/klogg

worksonmine

It's a nice tool but I really wish the configuration wasn't done in json and loaded from $XDG_CONFIG_HOME.

rsafaya

I wish I had found this earlier. Nothing like looking at thousands of EV charger logs all day to mak you appreciate something like this.

teh

Super useful tool but need to be aware that this is reading potentially untrusted input (e.g. in the case of http request logs) and written in c++, so a possible attack vector. I use lnav where I trust the logs, but do wish a safe implementation existed.

Duke64

I'm a little disappointed that it's not written in Rust.

vdm

https://mpryor.github.io/nothing-less/

SoftTalker

I've always just used less(1).

mitul005

Interesting, I want to try this for debugging our AI gateway when you're routing requests across 20+ LLM providers, the logs get noisy fast. Being able to filter by log level, jump between errors, and run SQL-style queries against structured logs in the terminal sounds like a huge time saver. No more grepping through multi-GB log files.

kiliancs

A discussion from 3 years ago. https://news.ycombinator.com/item?id=34243520

vzaliva

So, I started it and was doing something but there is no obvious way to exit. I tried Q,q, Ecc, :q. I tried `man lnav` in separate terminal - but no man page is provided. `ps` shows 3 processes which would not die with SIGTERM, have to `kill -9`. But nice web site :)

secureblueprint

This is very helpful

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed