https://github.com/elastic/ecs-logging-python
https://github.com/elastic/ecs-logging-python
ecs elastic-common-schema logging
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/elastic/ecs-logging-python
- Owner: elastic
- License: apache-2.0
- Created: 2020-03-16T20:53:06.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-05-06T16:05:11.000Z (about 1 year ago)
- Last Synced: 2025-05-12T00:17:35.042Z (about 1 year ago)
- Topics: ecs, elastic-common-schema, logging
- Language: Python
- Homepage: https://pypi.org/project/ecs-logging
- Size: 229 KB
- Stars: 70
- Watchers: 205
- Forks: 28
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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