ecs-logging
توضیحات
Logging formatters for ECS (Elastic Common Schema) in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ecs-logging-2.3.0 |
| نام | ecs-logging |
| نسخه کتابخانه | 2.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Seth Michael Larson |
| ایمیل نویسنده | seth.larson@elastic.co |
| آدرس صفحه اصلی | https://github.com/elastic/ecs-logging-python |
| آدرس اینترنتی | https://pypi.org/project/ecs-logging/ |
| مجوز | - |
# 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
نیازمندی
| مقدار | نام |
|---|---|
| xtr | pytest; |
| xtr | pytest-cov; |
| xtr | mock; |
| xtr | structlog; |
| xtr | elastic-apm; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl ecs-logging-2.3.0:
pip install ecs-logging.whl
نصب پکیج tar.gz ecs-logging-2.3.0:
pip install ecs-logging.tar.gz