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.1.0.tar.gz (38.1 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-4.1.0-py2.py3-none-any.whl (25.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for python_logstash_async-4.1.0.tar.gz
Algorithm Hash digest
SHA256 05c8647a147d2e6b39aa8f0d95ba461030e646af0d15ff2d19a5d802346cb1dc
MD5 1e8cd552843c41ba145eb49a77d03159
BLAKE2b-256 a27f18db482559941479f322b4a526ecf7ccd90705f01dea12a2930a434b3123

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_logstash_async-4.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3fdeaac5b067a4a7d60c35d0d0b077483607e39c5c29d887775a0d213442cd9b
MD5 057b8c0b7948c917a82b0a9c4b0ae54a
BLAKE2b-256 74401910bfe3bec0def5f289844a76e901b38f0526a1c34450c5f813bf501269

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