Simple python logging handler for forwarding logs to a kafka server.
The handler uses a logstash formatter.
$ pip install python_kafka_logging
Example for using the handler within a native logging.conf file
example/logging.conf
- Clone the git repository
$ git clone https://github.com/taykey/python-kafka-logging/
- Install a virtualenv
$ sudo apt-get install python-virtualenv
- Create a new virtualenv
$ virtualenv python_kafka_logging_ve
- Install project's requirements
$ python_kafka_logging_ve/bin/pip install -r requirements.txt
If you have suggestions, bugs or other issues specific to this library, file them here or contact me at avihoo <at> taykey <dot> com.
keywords: python, logging, handler, example, kafka, logs, logstash, formatter