Last Updated: February 25, 2016
·
5.065K
· nmalcolm

Live remote traffic via with Logstalgia

Logstalgia is an awesome way to view your live log traffic with ease. Providing you have it installed (code.google.com/p/logstalgia/), you can use the command below to view log traffic from a remote host by piping the content of the log to Logstalgia.

ssh -x -p22 -l root 192.168.1.8 tail -f /var/log/nginx/access.log | logstalgia --sync

Replace 192.168.1.8 with the server IP address and optionally the username (root) and port (22). If you're not using NGINX you should replace /var/log/nginx/access.log with the absolute path to the log .

Read more about Logstalgia: http://code.google.com/p/logstalgia/