Skip to content
For monitoring log files that are typically symlinked into the logs directory.
JavaScript Ruby HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logs
public
screenshots
views
.gitignore
.jscsrc
.jshintrc
.rubocop.yml
Gemfile
Gemfile.lock
Gruntfile.js
Guardfile
LICENSE
README.md
Rakefile
app.rb
config.ru
package.json

README.md

Log Monitor

screenshot

For monitoring log files that are typically symlinked into the logs directory.

This project was built using Ruby, Backbone, and JS.

It is still a work in progress and as such, it has bugs.

It should work fine for most log files, though, since I don't have a limit set yet, it will happily try and load VERY large log files until it crashses.

You can use the "Tail Only" checkbox to prevent the app from backloading the whole log file.

What does this do?

By adding symlinked files into the logs directory (these can be from the local system or remotely mounted filesystems), it will attempt to load the file (in segments to prevent giant queries) and give you a live readout. This log can be filtered (much like using grep) using simple exact phrasing.

New entires appear green and fade to white.

#HOW TO INSTALL

  • Clone the repo into a local directory

      git clone https://github.com/bsdavidson/LogMonitor.git
    
  • Install dependencies

      bundle install
      npm install
    
  • Run

      rake watch
    
  • Connect

      Open your browser to http://localhost:9292
    
  • Add Log files to monitor

Use a symlink to add entries in the 'logs' directory for them to appear as a dropdown in the web interface.

    ex: ln -s /var/log/messages logs/messages
You can’t perform that action at this time.