Skip to main content

Asynchronous Python logging handler for Logstash.

Project description

PyPI Documentation Status CI Tests Python Versions License

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.

Author

Enrico Tröger <enrico.troeger@uvena.de>

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_logstash_async-4.0.2.tar.gz (37.6 kB view details)

Uploaded Source

Built Distribution

python_logstash_async-4.0.2-py2.py3-none-any.whl (24.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file python_logstash_async-4.0.2.tar.gz.

File metadata

  • Download URL: python_logstash_async-4.0.2.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for python_logstash_async-4.0.2.tar.gz
Algorithm Hash digest
SHA256 78be21c6f1a0ab0c0f274799ffa457292db5f087ea8823544057bc8aba1527a2
MD5 8431ba807eea814b51d5fd95a0986750
BLAKE2b-256 802b77bebd3179d926bcae5d6d6cf10b576b3956285b8006a5f4a2b8cf56b2c9

See more details on using hashes here.

File details

Details for the file python_logstash_async-4.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for python_logstash_async-4.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4353f7f21274f4d5637be82a6c90ba0766ca86ba1d9c5582862c57ec7aa1c313
MD5 8310a02bb2fb6c900f146aaf7c887397
BLAKE2b-256 da4a9fd32c520d44398aeb78e4c042294a91e5851205a6c6cbcba4bd224c3db0

See more details on using hashes here.

Supported by

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