Asynchronous Python logging handler for Logstash.
Project description
Python Logstash Async is an asynchronous Python logging handler to submit log events to a remote Logstash instance.
Unlike most other Python Logstash logging handlers, this package works asynchronously by collecting log events from Python’s logging subsystem and then transmitting the collected events in a separate worker thread to Logstash. This way, the main application (or thread) where the log event occurred, doesn’t need to wait until the submission to the remote Logstash instance succeeded.
This is especially useful for applications like websites or web services or any kind of request serving API where response times matter.
For more details, configuration options and usage examples please see the documentation at http://python-logstash-async.readthedocs.io/en/latest/.
Installation
The easiest method is to install directly from pypi using pip:
pip install python-logstash-async
If you prefer, you can download python-logstash-async and install it directly from source:
python setup.py install
Get the Source
The source code is available at https://github.com/eht16/python-logstash-async/.
Contributing
Found a bug or got a feature request? Please report it at https://github.com/eht16/python-logstash-async/issues.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python-logstash-async-3.0.0.tar.gz
.
File metadata
- Download URL: python-logstash-async-3.0.0.tar.gz
- Upload date:
- Size: 36.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acbbac8355d556d12cd7d89fd05da6ea7c1d548bff1f9ebda8721e4b3a751379 |
|
MD5 | 86fa30581d7e9a4bf39571137e8051b1 |
|
BLAKE2b-256 | 49de268a0c18ea8422254e4a6ebd767430b30899dcdc38a20fcbf0400b553755 |
File details
Details for the file python_logstash_async-3.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: python_logstash_async-3.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cfeadda50aa35d785dbddec3b9f904f9d3f40ac6f63a06bf81846b52f18b1c7 |
|
MD5 | 08bcc35d30af473c86b80b1504f62b15 |
|
BLAKE2b-256 | 0df5c09c6571208869e1864f85a7fec0b0a6e52194d3bd6fc80af49304cfb2b2 |