Log.io - Real-time log monitoring in your browser
Powered by node.js + socket.io
How does it work?
Harvesters watch log files for changes, send new log messages to the server, which broadcasts to web clients.
Users create stream and history screens to view and search log messages.
Requirements
node.js (>=0.4.9)
socket.io (>=0.9.0)
socket.io-client (>=0.9.0)
forever (>=0.8.2)
connect (<=1.8.4)
underscore (>=1.1.7)
Compatibility
Harvesters & server have been tested on Ubuntu 12.04
Web clients have been tested on Chrome, Safari, and Firefox.
Install log server on Machine A
-
Install via npm
sudo npm config set unsafe-perm true sudo npm install -g --prefix=/usr/local log.io
-
Launch server
sudo log.io server start
-
Browse to:
Install log harvester on Machine B
-
Install via npm
sudo npm config set unsafe-perm true sudo npm install -g --prefix=/usr/local log.io
-
Configure harvester (optional; modify /etc/log.io/harvester.conf)
- Server host
- Local log files
-
Launch harvester
sudo log.io harvester start
Credits
-
Mike Smathers <msmathers@narrativescience.com> (msmathers)
-
Narrative Science http://narrativescience.com (NarrativeScience)
Acknowledgements
-
Guillermo Rauch <guillermo@learnboost.com> (Guille)
-
Ryan Dahl <ry at tiny clouds dot org> (ry) + Joyent http://www.joyent.com/ (joyent)
-
P.J. Onori <http://somerandomdude.com> (somerandomdude)
License
Copyright 2012 Narrative Science <contrib@narrativescience.com>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.