Python Kafka Logging Handler
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
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
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
Metadata
Release files for python-kafka-logging 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| python_kafka_logging-0.6.tar.gz | 2.9 kB | Without provenance | Details |
Release files / python_kafka_logging-0.6.tar.gz
| Download URL | python_kafka_logging-0.6.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92de9f579d2b1621d0d29f480dc7477c2c2571c8fbbcd144845c4bdd03281488
|
|
BLAKE2b-256 checksum How to use checksums |
3141aee16b6b7c420ded746656185e791822352aa731b43351514559e29d9735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-kafka-logging 0.6
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.