Vimeo’s Tailgate: simple real-time access to your logs
Tailgate on Github: https://github.com/vimeo/tailgate
Tailgate is a nodejs app to pipe
tail -F into websockets.
Tailgate exposes it’s feeds as a simple pub/sub api through socket.io connections making it easy to build visualizations or monitoring tools as simple web pages.
cd <install/directory> git clone email@example.com:vimeo/tailgate.git cd tailgate cp conf/conf-dist.sh conf/conf.sh
conf/conf.sh to have the correct values for your installation.
If you want to use the
cp startup/init.d-dist.sh startup/init.d.sh sudo ln -s <fullpath to tailgate/startup/init.d.sh> /etc/init.d/tailgate
startup/init.d.sh script to use the installation directory and tailgate user to run as. Ensure the tailgate user has write permissions to
startup/ so that it can write the pidfile.
sudo /etc/init.d/tailgate start sudo /etc/init.d/tailgate stop sudo /etc/init.d/tailgate restart
- Make sure the HTTP port specified in
conf/conf.shis not already in use
- Enable logging in