Skip to main content
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-logger

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/avihoo/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.mamka <at> gmail <dot> com.

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

Metadata

Release files for python-kafka-logger 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-kafka-logger 0.5
File Size Uploaded Provenance Actions
python-kafka-logger-0.5.tar.gz 3.1 kB Without provenance Details for python-kafka-logger-0.5.tar.gz

Release files / python-kafka-logger-0.5.tar.gz

Download URL python-kafka-logger-0.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
861d2c5606f9e1ebbb46f3c7ad4b1c87fe68b30137139400684768fc606a3f3b
BLAKE2b-256 checksum
How to use checksums
493df961fd1e4f1e2dd0f6da8bfcb559ad253ea3026c080eb4d74d755f609938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.5.3 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15

Security for python-kafka-logger 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page