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/
Written by Nathan Malcolm
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ssh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#