https://github.com/bsdavidson/logmonitor
For monitoring log files that are typically symlinked into the logs directory.
https://github.com/bsdavidson/logmonitor
Last synced: 11 months ago
JSON representation
For monitoring log files that are typically symlinked into the logs directory.
- Host: GitHub
- URL: https://github.com/bsdavidson/logmonitor
- Owner: bsdavidson
- License: mit
- Created: 2015-03-21T21:37:24.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-15T22:07:56.000Z (over 10 years ago)
- Last Synced: 2023-12-18T01:35:39.563Z (over 2 years ago)
- Language: JavaScript
- Size: 264 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Log Monitor

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