3 ms·
Speaking of logs, angle-grinder is amazing: https://github.com/rcoh/angle-grinder https://github.com/rcoh/angle-grinder
by mihaitodor 5y ago
Speaking of logs, angle-grinder is amazing: https://github.com/rcoh/angle-grinder https://github.com/rcoh/angle-grinder
- francislavoie 5y agoThat looks awesome. Something I'd love help with, I use pdsh to tail logs from multiple servers at once, but the ways I can manipulate the logs feel really limited because of how pdsh works. Does anyone know of a better solution for that? Like, from a head node, aggregate/tail the contents of the same log file on multiple servers. Bonus points if it uses 'genders' too to get the list of servers.
- tstack 5y agoThe Logfile Navigator (https://lnav.org https://lnav.org), a TUI for viewing log files, has support for opening logs on remote hosts via SSH in its latest version. See the following post for more information: https://lnav.org/2021/05/03/tailing-remote-files.html https://lnav.org/2021/05/03/tailing-remote-files.html As for integrating with a “genders” host DB, there’s no direct support for it. But, lnav is scriptable, so I’m pretty sure it’s possible to write a script that does what you want. I can help with that if post in the github discussion: https://github.com/tstack/lnav/discussions https://github.com/tstack/lnav/discussions