Vimeo’s Tailgate: simple real-time access to your logs
Tailgate
Tailgate on Github: https://github.com/vimeo/tailgate
Tailgate is a nodejs app to pipe tail -F into websockets.
It’s a very simple way to have real-time access to your logs. It uses socket.io and coffeescript, and is great for keeping track of scribe logs.
API
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.
Installation
cd <install/directory> git clone git@github.com:vimeo/tailgate.git cd tailgate cp conf/conf-dist.sh conf/conf.sh
Edit conf/conf.sh to have the correct values for your installation.
Optional
If you want to use the init.d.sh script.
cp startup/init.d-dist.sh startup/init.d.sh sudo ln -s <fullpath to tailgate/startup/init.d.sh> /etc/init.d/tailgate
Edit the 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
Troubleshooting
- Make sure the HTTP port specified in
conf/conf.shis not already in use - Enable logging in
conf.shby settingLOGGING="1"
-
jmdickinson likes this
-
bdougherty likes this
-
itsmikejoyce likes this
-
itsmikejoyce reblogged this from rumpl
-
jstn likes this
-
andreaallen likes this
-
okseanjay reblogged this from rumpl
-
ridiculouslyawesome reblogged this from rumpl and added:
Another Vimeo open-source project is launched out into the wild. Run free my friend. Run free and long…
-
anusreeb likes this
-
alliswin likes this
-
pile reblogged this from rumpl
-
alliswin reblogged this from rumpl
-
sweendawg reblogged this from rumpl
-
adilhashem likes this
-
sweendawg likes this
-
rumpl posted this
