Skip to main content

Simple python logging handler for forwarding logs to a kafka server.

Project description

Downloads Latest Version License

Simple python logging handler for forwarding logs to a kafka server.

The handler uses a logstash formatter.


$ pip install python-kafka-logger

How to use

Example for using the handler within a native logging.conf file


Get the project

  1. Clone the git repository
$ git clone
  1. Install a virtualenv
$ sudo apt-get install python-virtualenv
  1. Create a new virtualenv
$ virtualenv python-kafka-logging-ve
  1. Install project’s requirements
$ python-kafka-logging-ve/bin/pip install -r requirements.txt

Reporting Issues

If you have suggestions, bugs or other issues specific to this library, file them here or contact me at avihoo.mamka <at> gmail <dot> com.

keywords: python, logging, handler, example, kafka, logs, logstash, formatter

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-kafka-logger-0.5.tar.gz (3.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page