python3-logstash
Python logging handler for Logstash.
Decision gist · record as of 2026-08-14
Yes, if you are already running Logstash and need a lightweight Python logging bridge on a stable, unchanging codebase. No, if you require active maintenance, compatibility with recent Python versions, or support for modern Logstash schema versions—consider a maintained alternative or direct HTTP/JSON logging instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Logstash must be running and listening on the specified host and port; optional AMQP support requires pika to be installed separately.
- Installation is straightforward with no runtime dependencies.
- However, the package is abandoned—last release was 2018-07-12 and last commit 2023-05-12—so it will not receive updates for Python or Logstash schema changes.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2018-07-12 (2955 days) · last repo commit 2023-05-12 · 13 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 811,833 downloads/mo, #5,001 on PyPI
Alternatives
Verify before relying
pip install python3-logstash
import logging
import logstash
test_logger = logging.getLogger('python-logstash-logger')
test_logger.setLevel(logging.INFO)
test_logger.addHandler(logstash.LogstashHandler('localhost', 5959, version=1))
test_logger.info('test message')- Whether the package works with current Logstash versions and modern Python releases beyond those it was originally tested against.
- Whether UDP/TCP message format remains compatible with contemporary Logstash event schema versions.
What it is and what it does
python3-logstash is a Python logging handler that bridges Python's standard logging module to Logstash, a log aggregation and processing platform. It captures log records and ships them to a Logstash instance via UDP or TCP, optionally supporting AMQP transport. The handler integrates seamlessly with Django and Gunicorn through standard Python logging configuration, allowing you to attach structured log data as extra fields and forward everything to a centralized Logstash pipeline.
The package has no runtime dependencies and installs as a pure Python wheel, making setup friction minimal. However, it has been abandoned since 2018—the last release predates major Python and Logstash evolution—so it will not adapt to schema changes or modern Python versions without external maintenance.
Use it for
- Forward Django application logs to Logstash for centralized monitoring and analysis across multiple instances.
- Ship Gunicorn access and error logs to Logstash using TCP or UDP handlers configured in logging.conf.
- Aggregate Python application logs with custom extra fields (strings, booleans, dicts, lists) into a Logstash index.
- Route exception stack traces and application errors to Logstash for alerting and debugging workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already running Logstash and need a lightweight Python logging bridge on a stable, unchanging codebase.
No, if you require active maintenance, compatibility with recent Python versions, or support for modern Logstash schema versions—consider a maintained alternative or direct HTTP/JSON logging instead.
Install
python3-logstash on PyPI
Before you install
Installation is straightforward with no runtime dependencies. However, the package is abandoned—last release was 2018-07-12 and last commit 2023-05-12—so it will not receive updates for Python or Logstash schema changes.
Logstash must be running and listening on the specified host and port; optional AMQP support requires pika to be installed separately.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install python3-logstash
import logging
import logstash
test_logger = logging.getLogger('python-logstash-logger')
test_logger.setLevel(logging.INFO)
test_logger.addHandler(logstash.LogstashHandler('localhost', 5959, version=1))
test_logger.info('test message')
Verify before relying
- Whether the package works with current Logstash versions and modern Python releases beyond those it was originally tested against.
- Whether UDP/TCP message format remains compatible with contemporary Logstash event schema versions.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,955 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 811,833 / month, #5,001 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: python3_logstash-0.4.80-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “logstash logging handler”
- python3-logstashA Python logging handler that forwards log messages to Logstash via…
- python-logstashSends Python log records to Logstash over UDP or TCP, formatting them…
- python-logstash-asyncAsynchronous Python logging handler that collects log events and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also logging-tree · logtail-python · python-logstash · python-logstash-async · seqlog · pylogbeat · pygelf · graypy · logstash_formatter · logzio-python-handler