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.
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