Skip to main content

Logging formatters for ECS (Elastic Common Schema) in Python

Project description


Build Status PyPI Versions Supported

Check out the Elastic Common Schema (ECS) reference for more information.

The library currently implements ECS 1.6.


$ python -m pip install ecs-logging


See the ECS Logging Python reference on to get started.

Elastic APM Log Correlation

ecs-logging-python supports automatically collecting ECS tracing fields from the Elastic APM Python agent in order to correlate logs to spans, transactions and traces in Elastic APM.



Download files

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

Source Distribution

ecs-logging-2.0.0.tar.gz (7.2 kB view hashes)

Uploaded source

Built Distribution

ecs_logging-2.0.0-py3-none-any.whl (10.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page