by tstack · 5y ago · 0 comments
https://lnav.org/2021/05/03/tailing-remote-files.html
So, to tail "/path/to/log" on host1 and host2, you'd start lnav with:
$ lnav host1:/path/to/log host2:/path/to/log
[1] - This is the initial release of this feature, so it probably has some performance issues. I'd be interested to know if it worked or not.The documentation for the format files is here:
https://docs.lnav.org/en/latest/formats.html
The "timestamp-format" property in the format definition is an array of the formats to be tried beyond the builtin set.
Here are some example formats written by a user:
https://github.com/aspiers/lnav-formats
I think some of them define their own timestamp format.