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.
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.
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
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...
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.
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
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?
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.
19 comments
[ 3.3 ms ] story [ 54.7 ms ] threadhttps://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.
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...
You can tail as many files as you want.