$npx skillfedfor your agent

python-logstash

Python logging handler for Logstash.

With conditionsPyPI Python ModulesReleased Mar 2022629.3K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — python-logstash-0.4.8.tar.gz · builds from source
v0.4.8 · released 2022-03-30

Yes, with conditions. The package is stable and permissively licensed, with no known vulnerabilities and a straightforward integration path. However, dormant maintenance since 2022 and source-only distribution create friction. Install only if you are already committed to Logstash and can tolerate the lack of active support; do not rely on it for new projects where you need ongoing compatibility updates or modern Python version guarantees.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Logstash instance listening on the specified host and port; AMQP handler requires pika to be installed separately.
  • High install friction due to source-only distribution.
  • Maintenance is dormant: last release was 2022-03-30, over 1598 days ago, though the repository remains active with 462 stars and a final commit on 2024-08-02.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or redistribution in proprietary or open-source projects.

last release 2022-03-30 (1598 days) · last repo commit 2024-08-02 · 462 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 629,287 downloads/mo, #5,666 on PyPI

Verify before relying

pip install python-logstash

import logging
import logstash

test_logger = logging.getLogger('test')
test_logger.setLevel(logging.INFO)
test_logger.addHandler(logstash.LogstashHandler('localhost', 5959, version=1))
test_logger.info('Test message')
  • Whether Python 3.8+ compatibility has been validated since the last release in 2022.
  • Current status of AMQP handler reliability and whether pika dependency is actively maintained.
  • Whether the package works with modern Logstash versions beyond those tested during active development.
Same gist for agents: .md · .json

What it is and what it does

python-logstash is a Python logging handler that bridges your application's logs to Logstash by formatting log records as JSON and sending them over UDP or TCP. It integrates directly with Python's standard logging module, allowing you to attach it to any logger and forward events to a Logstash instance for centralized aggregation, parsing, and analysis. The handler supports custom fields via the logging `extra` parameter, multiple transport protocols (UDP, TCP, AMQP), and can be configured in Django settings for framework-level integration.

The package has been dormant since March 2022, with no active maintenance or recent releases. While the repository remains archived-free and the code is stable for basic use cases, it has not been updated to address modern Python versions or Logstash schema changes that may have occurred in the past four years. Installation requires building from source, which adds friction compared to pre-built wheels.

Use it for

  • Forward application logs from a Python service to a centralized Logstash instance for aggregation and analysis.
  • Integrate Django application logging with Logstash by configuring the handler in Django's LOGGING settings.
  • Send structured log events with custom fields (strings, booleans, dicts, lists) to Logstash for enriched log analysis.
  • Route logs through AMQP to Logstash when direct UDP/TCP is not available or when message queuing is required.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is stable and permissively licensed, with no known vulnerabilities and a straightforward integration path. However, dormant maintenance since 2022 and source-only distribution create friction. Install only if you are already committed to Logstash and can tolerate the lack of active support; do not rely on it for new projects where you need ongoing compatibility updates or modern Python version guarantees.

Install

python-logstash on PyPI

Before you install

High install friction due to source-only distribution. Maintenance is dormant: last release was 2022-03-30, over 1598 days ago, though the repository remains active with 462 stars and a final commit on 2024-08-02. No runtime dependencies to manage.

Requires a running Logstash instance listening on the specified host and port; AMQP handler requires pika to be installed separately.

License in practice

MIT license is permissive and poses no restrictions on use, modification, or redistribution in proprietary or open-source projects.

Quickstart

pip install python-logstash

import logging
import logstash

test_logger = logging.getLogger('test')
test_logger.setLevel(logging.INFO)
test_logger.addHandler(logstash.LogstashHandler('localhost', 5959, version=1))
test_logger.info('Test message')

Verify before relying

  • Whether Python 3.8+ compatibility has been validated since the last release in 2022.
  • Current status of AMQP handler reliability and whether pika dependency is actively maintained.
  • Whether the package works with modern Logstash versions beyond those tested during active development.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 1,598 days since the last release
Last repo commit
First released
Downloads629,287 / month, #5,666 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Logging

Evidence: python-logstash-0.4.8.tar.gz

Tags

Capabilities
logstash logging handlersend logs to logstashpython logstash integrationlogstash json formattercentralized log aggregationudp tcp logging handler
Topics
log-aggregationlogstash-integration

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 › “send logs to logstash”

  • python-logstashSends Python log records to Logstash over UDP or TCP, formatting them…
  • pylogbeatPyLogBeat sends log messages and structured data to Logstash's beats…
  • logstash_formatterFormats Python logging output as JSON objects compatible with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pylogbeat · python3-logstash · python-logstash-async · graypy · logstash_formatter · fluent-logger · pygelf · JSON-log-formatter · jsonformatter · rfc5424-logging-handler