Giter Site home page Giter Site logo

cnxtech / tailgate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vimeo/tailgate

0.0 0.0 0.0 615 KB

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.

License: Other

CoffeeScript 18.86% Shell 6.43% HTML 19.75% CSS 12.09% JavaScript 42.88%

tailgate's Introduction

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.

Tailgate

API

Tailgate exposes its 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 [email protected]:vimeo/tailgate.git
cd tailgate
npm install
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.sh is not already in use
  • Enable logging in conf.sh by setting LOGGING="1"

tailgate's People

Contributors

jasonmoo avatar falsetto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.