From 17fbcfe6ab73dd30cdbc113be309143f91420941 Mon Sep 17 00:00:00 2001 From: lcawl Date: Tue, 30 Apr 2024 13:48:08 -0700 Subject: [PATCH 1/2] Generalize documentation links --- README.md | 2 +- docs/setup.asciidoc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e7217e4..a66f912 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ See the [ECS Logging Python reference](https://www.elastic.co/guide/en/ecs-loggi ## Elastic APM Log Correlation -`ecs-logging-python` supports automatically collecting [ECS tracing fields](https://www.elastic.co/guide/en/ecs/master/ecs-tracing.html) +`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. diff --git a/docs/setup.asciidoc b/docs/setup.asciidoc index a4d26f1..8bbb13f 100644 --- a/docs/setup.asciidoc +++ b/docs/setup.asciidoc @@ -189,12 +189,12 @@ logger.debug("Example message!") [[correlation]] == Elastic APM Log Correlation -`ecs-logging-python` supports automatically collecting https://www.elastic.co/guide/en/ecs/master/ecs-tracing.html[ECS tracing fields] +`ecs-logging-python` supports automatically collecting {ecs-ref}/ecs-tracing.html[ECS tracing fields] from the https://github.com/elastic/apm-agent-python[Elastic APM Python agent] in order to -https://www.elastic.co/guide/en/apm/agent/python/current/log-correlation.html[correlate logs to spans, transactions and traces] in Elastic APM. +{apm-py-ref}/log-correlation.html[correlate logs to spans, transactions and traces] in Elastic APM. You can also quickly turn on ECS-formatted logs in your python app by setting -https://www.elastic.co/guide/en/apm/agent/python/master/configuration.html#config-log_ecs_reformatting[`LOG_ECS_REFORMATTING=override`] +{apm-py-ref}/configuration.html#config-log_ecs_reformatting[`LOG_ECS_REFORMATTING=override`] in the Elastic APM Python agent. [float] From 4616a197ce4f664a9de77095eeaf483eb8d2c077 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 2 May 2024 12:58:25 -0700 Subject: [PATCH 2/2] [DOCS] Update target for link --- docs/setup.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup.asciidoc b/docs/setup.asciidoc index 8bbb13f..49b4eb5 100644 --- a/docs/setup.asciidoc +++ b/docs/setup.asciidoc @@ -191,7 +191,7 @@ logger.debug("Example message!") `ecs-logging-python` supports automatically collecting {ecs-ref}/ecs-tracing.html[ECS tracing fields] from the https://github.com/elastic/apm-agent-python[Elastic APM Python agent] in order to -{apm-py-ref}/log-correlation.html[correlate logs to spans, transactions and traces] in Elastic APM. +{apm-py-ref}/logs.html[correlate logs to spans, transactions and traces] in Elastic APM. You can also quickly turn on ECS-formatted logs in your python app by setting {apm-py-ref}/configuration.html#config-log_ecs_reformatting[`LOG_ECS_REFORMATTING=override`]