Fluentd clone written in Python
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fluenpy
sample
scripts
.gitignore
MANIFEST.in
README.rst
make_bootstrap.py
requirements.txt
setup.py
virtualenv.py

README.rst

fluenpy

THIS IS PRE-ALPHA QUALITY. DON'T USE THIS FOR PRODUCTION ENVIRONMENT.

fluentd clone implemented with Python. It has fewer plugins than fluentd but easy to setup and memory efficient.

requirements

Python >= 2.6 gevent >= 1.0b2 msgpack-python

install

fleunpy provides bootstrap script. It makes virtual environment for

wget https://github.com/downloads/KLab/fluenpy/fluenpy-bootstrap.py
python fluenpy-bootstrap.py /path/to/fluenpy

without bootstrap

Using virtualenv is highly recommanded. Installing virtualenv is very easy:

$ wget https://raw.github.com/pypa/virtualenv/master/virtualenv.py
$ python virtualenv.py --distribute /path/to/fluenpy
$ source /path/to/fluenpy/bin/activate
(fluenpy) $

To install fluenpy:

(fluenpy) $ pip install msgpack-python
(fluenpy) $ pip install http://gevent.googlecode.com/files/gevent-1.0b2.tar.gz
(fluenpy) $ pip install https://github.com/KLab/fluenpy/tarball/master

upgrade

(fluenpy) $ pip install --upgrade https://github.com/KLab/fluenpy/tarball/master

setup

See fluentd document.

sample configuration file:

# fluent.conf
<source>
   forward
   port 10000
</source>
<source>
   http
   port 8890
</source>
<match **>
   type stdout
</match>

execute

/path/to/fluenpy/bin/fluen.py -c fluent.conf