1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# ecs-logging-python
[](https://github.com/elastic/ecs-logging-pythonactions/workflows/test.yml)
[](https://pypi.org/project/ecs-logging)
[](https://pypi.org/project/ecs-logging)
Check out the [Elastic Common Schema (ECS) reference](https://www.elastic.co/guide/en/ecs/current/index.html)
for more information.
The library currently implements ECS 1.6.
## Installation
```console
$ python -m pip install ecs-logging
```
## Documentation
See the [ECS Logging Python reference](https://www.elastic.co/guide/en/ecs-logging/python/current/index.html) on elastic.co to get started.
## Elastic APM Log Correlation
`ecs-logging-python` supports automatically collecting [ECS tracing fields](https://www.elastic.co/guide/en/ecs/current/ecs-tracing.html)
from the [Elastic APM Python agent](https://github.com/elastic/apm-agent-python) in order to
[correlate logs to spans, transactions and traces](https://www.elastic.co/guide/en/apm/agent/python/current/log-correlation.html) in Elastic APM.
## License
Apache-2.0
|