1

I want to live monitor a logfile generated on a remote linux host with a windows tool.

I'm looking for something like:

$> ssh remoteserver 'tail -F /var/log/err.log' | tool.exe

But on Windows. Sadly there is no way around it.

tool.exe supports reading from stdin.

Any ideas on how to accomplish this without hacking an ssh-connection directly into tool.exe?

2 Answers 2

0
$> plink.exe remoteserver 'tail -f /var/log/err.log' | tool.exe

does the trick (plink.exe is from puTTY toolset)

0

You can checkout in'side log.

A Java tool I created, able to read local and distant log files using SSH. It is fairly simple to use.

Some more explanations: https://github.com/pschweitz/insidelog/wiki

Just download the version corresponding to your operating system, or the native jar release executable within your Java Runtime (requires java 8_40 or higher):

https://github.com/pschweitz/insidelog/releases

You can find a complete documentation (embedded with and in Github's page as well)

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .