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.

Installing

$ pip install python_kafka_logging

How to use

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

example/logging.conf

Get the project

  1. Clone the git repository

$ git clone https://github.com/taykey/python-kafka-logging/
  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 <at> taykey <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_logging-0.6.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file python_kafka_logging-0.6.tar.gz.

File metadata

File hashes

Hashes for python_kafka_logging-0.6.tar.gz
Algorithm Hash digest
SHA256 92de9f579d2b1621d0d29f480dc7477c2c2571c8fbbcd144845c4bdd03281488
MD5 86816f810a8659cc9bdf913962ab98af
BLAKE2b-256 3141aee16b6b7c420ded746656185e791822352aa731b43351514559e29d9735

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page