Logging framework for receiving and processing events from a diverse range of sources and formats, and relaying onto multiple destinations.
Project description
logcabin is a program for aggregating and processing events from a diverse range of sources and formats, and outputting to the file system, database or a search engine.
Quickstart
Install:
$ pip install logcabin
Configure:
$ wget https://raw.github.com/artirix/logcabin/master/config/simple.py -O config.py
Run:
$ logcabin
Send some messages:
$ echo '{"message": "test log event"}' | nc -u localhost 6000 $ cat output.log
Dependencies
pip will install gevent, which needs libevent-dev (or equivalent package) to build:
$ apt-get install libevent-dev
All other dependencies are optional, and only required if you use that module.
zeromq
Install:
$ apt-get install libzmq1-dev (or equivalent) $ pip install -U pyzmq (>= 2.2.0.1)
mongodb
Install:
$ pip install pymongo
Docs
Contributing
Contributions welcome! Please:
Fork the project on Github
Make your feature addition or bug fix, write tests, commit.
Send me a pull request. Bonus points for topic branches.
Changelog
0.1b9
Yield in input stages for better behaviour
Improve exception catching
0.1b8
Robustness and general bug fixes
0.1b7
Add support to stats for wildcarding and nested fields
0.1b6
Add index/type formatting for elasticsearch
0.1b5
Bug fix for flow stopping at If/Switch
Add rename and unset to Mutate
0.1b4
Documentation improvements
0.1b3
Add file input and zeromq output.
0.1b2
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for logcabin-0.1b9-py27-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7235df892b044099e356e00bcf58040aa31b8a0c5d3fd7dbec119aeea8409326 |
|
MD5 | f7fcfb252fc4d3509fe68538c478fa5e |
|
BLAKE2b-256 | 70c0fb5c2f70e6d559c6376acba2d43ed07b59b26f405f9b0a3231e7891d16fc |