logfollow-server 0.0.9
Real-time Web Monitor for your logs
Real-time web based monitor for your logs.
Features
(Screenshots are coming...)
- Real-time updates with WebSocket or other available transports
- Easy managable screens and logs, drag-&-drop interface
- Listening logs on remote servers
- Working with directory listings
- Export/import configuration (in progress)
- Log entries filtering, duplication detect (in progress)
Install
Using PyPI package:
sudo easy_install logfollow-server
Install from source:
git clone git@github.com:kachayev/logfollow.git sudo python setup.py install sudo python setup.py upload_scripts
Launch
Start HTTP server:
logfollowd.py
By default logfollowd.py server will listen 8001 port, by use can specify other port with --port param. Full list of launching params, you can find in help message:
%> logfollowd.py --help Usage: /usr/local/bin/logfollowd.py [OPTIONS] Options: --help show this help information --logging=debug|info|warning|error|none Set the log level. --debug --gateway_host --gateway_port --host --port --templates
In order to use util without internet connection you have to upload all necessary JS libraries from CDNs. This can be done:
logfollowctl.py upload_scripts
Supervisor
Supervisor can help you with relaunching Logfollow server after critical error and system reboot. It also provide you with simple console and web-based monitoring tool for checking server status, reading logs tail and restarting process remotely.
You can find more information in Supervisor documentation. Firstly, you should setup Supervisor and ensure that supervisord daemon in already running:
sudo -s
## Generate configuration
logfollowctl.py supervisor_config /etc/supervisor/conf.d/logfollowd.conf
## Restart supervisor in order to spawn new config file
supervisorctl reload
## Check results...
supervisorctl status logfollowd
logfollowd RUNNING pid 5390, uptime 0:00:13
You can also provide list of params for logfollowd.py launching calling logfollowctl.py util:
logfollowctl.py supervisor_config --logging=debug --port=8001 --host=127.0.0.1
Note that, if don't use *.conf filename as first param after supervisor_config generated configuration will be pushed to STDOUT. It can be useful for debuging configuration file and for using in pipes.
Contributors
TODO
- Upgrade UI
- Documentation and presentation site
- Export/import of client-side configurations
- Filter and aggregation on client side
- Configuration and customization facilities both from client and with config
- Cross-platform log's listener implementation for both Linux and Mac OS
License
Licensed under the Apache 2.0 License. See license in source code.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| logfollow-server-0.0.9.tar.gz (md5) | Source | 2011-12-23 | 18KB | 167 | |
- Author: Alexey S. Kachayev
- Home Page: https://github.com/kachayev/logfollow
-
License:
Copyright (c) 2011, Alexey S. Kachayev, kachayev@gmail.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.
-
Categories
- Development Status :: 2 - Pre-Alpha
- Environment :: Web Environment
- Intended Audience :: Developers
- Intended Audience :: System Administrators
- License :: OSI Approved :: Apache Software License
- Operating System :: MacOS :: MacOS X
- Operating System :: POSIX
- Operating System :: Unix
- Programming Language :: Python
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Topic :: Software Development
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: System :: Software Distribution
- Topic :: System :: Systems Administration
- Package Index Owner: kachayev
- DOAP record: logfollow-server-0.0.9.xml
