logstash_formatter
JSON formatter meant for logstash
Decision gist · record as of 2026-08-14
No. The package is abandoned (last update 2018, last commit 2019) with no maintenance signal. While it has no known vulnerabilities and carries a permissive MIT license, the high install friction combined with lack of updates means compatibility with modern Python versions is uncertain. If you need JSON logging for Logstash, consider actively maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- No explicit Python version requirement stated; compatibility with modern Python versions is unverified given the package's abandoned status since 2019.
- High install friction and abandoned maintenance status since 2019 with no recent updates.
- Last commit was 2019-08-12 and latest release 2018-02-13.
License · maintenance · safety
MIT, see LICENSE file (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, though you should retain the license notice.
last release 2018-02-13 (3104 days) · last repo commit 2019-08-12 · 158 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 102,934 downloads/mo, #12,835 on PyPI
Alternatives
Verify before relying
pip install logstash_formatter
import logging
from logstash_formatter import LogstashFormatterV1
logger = logging.getLogger()
handler = logging.StreamHandler()
formatter = LogstashFormatterV1()
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.info("test message")- Whether LogstashFormatterV1 works correctly with current Python 3.x versions given no updates since 2018.
- Whether the Logstash schema version (1.2.0) is still compatible with current Logstash deployments.
- Whether there are known issues or breaking changes in Python versions released after the last update.
What it is and what it does
logstash_formatter is a Python logging formatter that converts standard log records into JSON objects matching Logstash's expected input format. It provides two formatter classes—LogstashFormatter and LogstashFormatterV1—that output logs with structured fields like @timestamp, @version, and custom extra fields, making it easy to pipe Python application logs directly into Logstash for centralized log aggregation.
The package has no runtime dependencies and integrates directly with Python's built-in logging module. You attach it as a formatter to any logging handler, and it automatically converts log messages to JSON with ISO 8601 timestamps, source host information, exception tracebacks when requested, and any custom fields you provide via the extra parameter or by passing dictionaries as messages.
Use it for
- Centralize Python application logs in Logstash by formatting output as JSON that Logstash can ingest directly.
- Add structured metadata (account IDs, request IPs, custom fields) to logs for easier filtering and analysis in log aggregation systems.
- Capture exception tracebacks in JSON format when logging errors with exc_info=True for complete error context in log storage.
- Replace plain-text logging with JSON output to enable downstream log parsing, indexing, and alerting in ELK or similar stacks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last update 2018, last commit 2019) with no maintenance signal. While it has no known vulnerabilities and carries a permissive MIT license, the high install friction combined with lack of updates means compatibility with modern Python versions is uncertain. If you need JSON logging for Logstash, consider actively maintained alternatives.
Install
logstash-formatter on PyPI
Before you install
High install friction and abandoned maintenance status since 2019 with no recent updates. Last commit was 2019-08-12 and latest release 2018-02-13. No runtime dependencies, but the lack of active maintenance means compatibility with modern Python versions is uncertain.
No explicit Python version requirement stated; compatibility with modern Python versions is unverified given the package's abandoned status since 2019.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, though you should retain the license notice.
Quickstart
pip install logstash_formatter
import logging
from logstash_formatter import LogstashFormatterV1
logger = logging.getLogger()
handler = logging.StreamHandler()
formatter = LogstashFormatterV1()
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.info("test message")
Verify before relying
- Whether LogstashFormatterV1 works correctly with current Python 3.x versions given no updates since 2018.
- Whether the Logstash schema version (1.2.0) is still compatible with current Logstash deployments.
- Whether there are known issues or breaking changes in Python versions released after the last update.
Package facts
| License | MIT, see LICENSE file permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,104 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 102,934 / month, #12,835 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3 |
Evidence: logstash_formatter-0.5.17.tar.gz
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 › “json logging formatter”
- logstash_formatterFormats Python logging output as JSON objects compatible with…
- jsonformatterFormats Python logging output as JSON, enabling structured logs…
- logging-jsonFormats Python logging records as JSON output, enabling structured…
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 JSON-log-formatter · jsonformatter · logzero · logging-json · python-logstash · json-logging · pylogbeat · logfmter · python3-logstash · mo-logs