Skip to main content

Asynchronous Python logging handler for Logstash.

Project description

PyPI Documentation Status Travis CI 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-1.6.2.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_logstash_async-1.6.2-py2.py3-none-any.whl (19.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file python-logstash-async-1.6.2.tar.gz.

File metadata

  • Download URL: python-logstash-async-1.6.2.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.8.0

File hashes

Hashes for python-logstash-async-1.6.2.tar.gz
Algorithm Hash digest
SHA256 6f2da753ee2307704b0c0d2e3dc6a52e3ad0605184690b4495356e418700abaa
MD5 41fed69fef16d4db1d0a52f0af448e22
BLAKE2b-256 57f8dc761ef0759a6347efed31b5ec90793031cf89e8cc5c6c5c1a93685b8a39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_logstash_async-1.6.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.8.0

File hashes

Hashes for python_logstash_async-1.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 16a85e7c76265b06e2e42f5a2babc39811e3920aaa41119e059722d4185f1912
MD5 c667b6131ef0ca376aa5b0c6a16f9cb8
BLAKE2b-256 1f681040127df496e5d6cc2b4b819b6c569c885409b62bd96a76c3c919b635f2

See more details on using hashes here.

Supported by

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