One of the nice things about lnav is that it indexes the log messages by time and shows a combined view of all the files that are loaded. Other features include: automatic handling of compressed files, querying logs using SQL, a histogram view of messages over time, and more...
Re:Multitail
by zerd on Friday March 14, 2014 @07:44PM
(#7402758)
Thank you for suggesting this. This looks exactly like what I've been looking for. Like a "command-line splunk". It is also packaged as a staticly linked file, which makes deployment easy for us.
Re:Multitail
by spektom on Thursday March 13, 2014 @11:44AM
(#7392534)
The best feature of MultiTail is that allows following original file names by specifying '-f' flag.
Really useful for switching automatically to the needed file after log rotation.
Re:Multitail
by koffiezet on Thursday March 13, 2014 @12:36PM
(#7392884)
Good tool, have been using this for ages. Just don't look at the source code, at least a few years ago when I tried that to fix a bug I encountered, it gave me eye-cancer :P
Re:Multitail
by alazar on Thursday March 13, 2014 @02:51PM
(#7393950)
I was looking at multitail yesterday. The problem that I'm trying to solve is I follow multiple files using 'find /var/log -type f -mtime -1 | xargs tail -F' while I'm troubleshooting something, and then need to re-assemble them into one stanza per file rather than the sequential output from tail. I've been doing this manually in a text editor; does anyone have a better solution?
Re:Multitail
by mulligan on Thursday March 13, 2014 @02:06PM
(#7393529)
We built a multitail functionality back in the day, but we built it on top of a general purpose shell script to do things across multiple machines that we called multido:
https://github.com/mochi/miscscripts/blob/master/cmultido
Is not for the terminal, but it is a multiplatform multitail with highlighter that you might find handy if are running a graphical UI:
http://sourceforge.net/projects/beobachter
Disclaimer: I'm the developer behind the project.
Re:Multitail
by tenfingers on Thursday March 13, 2014 @12:13PM
(#7392743)
Nothing related to multitail per-se, but: dark blue on black is unreadable. With a lighter blue might be ok, but please don't supply defaults like that.
http://lnav.org/
One of the nice things about lnav is that it indexes the log messages by time and shows a combined view of all the files that are loaded. Other features include: automatic handling of compressed files, querying logs using SQL, a histogram view of messages over time, and more...
https://github.com/thobbs/multitail-curses
Now: TMux, I just have a session in TMux and just attach to the session wehn I need to. Works great.
You can tail as many files as you want.