{"categories":[{"label":"Logging","url":"https://skillfed.io/packages/category/system-logging"}],"enrichment":{"capability":"Formats Python logs as Elastic Common Schema (ECS) JSON, enabling structured log output compatible with Elastic Stack and APM correlation.","skillfed_tags":["structured-logging","elastic-stack","apm-integration"],"use_cases":["Correlate application logs with Elastic APM traces to debug performance issues across distributed systems","Stream structured logs to Elasticsearch for centralized log aggregation and analysis","Replace ad-hoc JSON logging with a standardized schema that Elastic tooling understands out of the box","Standardize log format across microservices using a common schema recognized by Elastic Stack"],"what_it_does":"ecs-logging is a Python logging formatter that converts log records into Elastic Common Schema (ECS) JSON format. It integrates with Python's standard logging module to output structured logs that Elastic Stack tools can parse and index natively. The library implements ECS 1.6 and supports automatic correlation with Elastic APM traces when used alongside the Elastic APM Python agent, allowing logs to be linked to spans, transactions, and traces in APM dashboards.\n\nThe package has no runtime dependencies and works with Python 3.8 through 3.14. It is maintained by Elastic and marked production-stable, with active development and recent commits. Installation is straightforward via pip, and integration typically requires only adding the formatter to a logging handler.","worth_installing":"Yes. Low install friction, no dependencies, active maintenance, and production-stable status make it a straightforward choice if you use Elastic Stack or APM. The permissive Apache-2.0 license poses no restrictions. Install it if you need ECS-formatted logs for Elasticsearch or APM correlation; skip it if you don't use Elastic tooling."},"id":"ecs-logging","links":{"html":"https://skillfed.io/packages/ecs-logging","md":"https://skillfed.io/packages/ecs-logging.md","pypi":"https://pypi.org/project/ecs-logging/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-19","license_spdx":null,"license_treatment":"permissive","name":"ecs-logging","python_support":"supports_current","summary":"Logging formatters for ECS (Elastic Common Schema) in Python"},"popularity":{"monthly_downloads":2912088,"position":2826,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.3.0"}
