Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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


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 install

Get the Source

The source code is available at


Found a bug or got a feature request? Please report it at


Enrico Tröger <>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-logstash-async, version 2.1.1
Filename, size File type Python version Upload date Hashes
Filename, size python_logstash_async-2.1.1-py2.py3-none-any.whl (21.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size python-logstash-async-2.1.1.tar.gz (32.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page