logsniffer
logsniffer copied to clipboard
[question] How to stream remote logs?
Hi community,
I would like to tail remote files. Now, I can implement SSH based wrapper for log source, but not sure about the performance especially with increasing number of files to be captured...by adopting: https://github.com/lucastheisen/jsch-nio
Another idea is to implement agent based stuff via https://github.com/OpenHFT/Chronicle-Queue.
Please any comments or better proposals are welcomed.
Ok, I decided to simplify things and under the terms that I don't have hundreds of servers to monitor, I will go with SSHFS.
SSHFS could be quite slow, so for best performance I will:
- patch all servers with https://www.psc.edu/hpn-ssh.
- mounting with options Ciphers=arcfour(fastest cipher) -o Compression=no (no compression)
Looking forward for your submission