logoalt Hacker News

Log File Viewer for the Terminal

205 pointsby wiradikusumatoday at 5:32 AM25 commentsview on HN

Comments

guessmynametoday at 6:30 AM

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

show 1 reply
Sammitoday at 10:00 AM

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

show 1 reply
p0w3n3dtoday at 6:21 AM

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

show 3 replies
rsafayatoday at 10:56 AM

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.

elcapitantoday at 9:12 AM

> ssh [email protected]

Really appreciate this way to demo it quickly, very nice!

show 1 reply
brunosutictoday at 7:56 AM

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?

show 1 reply
asmosoiniotoday at 6:27 AM

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

__baxtoday at 8:34 AM

Must have tool!

steveharing1today at 7:53 AM

I was looking for something like this, Appreciate it!

vincentabolarintoday at 9:28 AM

This looks genuinely useful.

Duke64today at 11:42 AM

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

show 1 reply
worksonminetoday at 10:31 AM

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

yagelartoday at 9:27 AM

very nice, definitely will use it

leontlovelesstoday at 12:03 PM

[dead]

tehtoday at 11:28 AM

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.

show 1 reply