From 4a77a321622c6e737a42d2589d814824fb9da5a0 Mon Sep 17 00:00:00 2001 From: Colleen McGinnis Date: Fri, 28 Feb 2025 12:47:27 -0600 Subject: [PATCH] clean up cross-repo links --- docs/reference/advanced-config.md | 2 +- docs/reference/ecs.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/advanced-config.md b/docs/reference/advanced-config.md index a05d51340c..c045a91d4b 100644 --- a/docs/reference/advanced-config.md +++ b/docs/reference/advanced-config.md @@ -71,7 +71,7 @@ To log requests and responses to standard output with the default logger (an ins Elasticsearch::Client.new(log: true) ``` -You can also use [`ecs-logging`](https://github.com/elastic/ecs-logging-ruby) which is a set of libraries that enables you to transform your application logs to structured logs that comply with the [Elastic Common Schema](ecs://docs/reference/index.md). See [Elastic Common Schema (ECS)](/reference/ecs.md). +You can also use [`ecs-logging`](https://github.com/elastic/ecs-logging-ruby) which is a set of libraries that enables you to transform your application logs to structured logs that comply with the [Elastic Common Schema](ecs://reference/index.md). See [Elastic Common Schema (ECS)](/reference/ecs.md). To trace requests and responses in the Curl format, set the `trace` argument: diff --git a/docs/reference/ecs.md b/docs/reference/ecs.md index 65100ebe4a..6fb1fc365f 100644 --- a/docs/reference/ecs.md +++ b/docs/reference/ecs.md @@ -5,7 +5,7 @@ mapped_pages: # Elastic Common Schema (ECS) [ecs] -The [Elastic Common Schema (ECS)][Elastic Common Schema (ECS)](ecs://docs/reference/index.md)) is an open source format that defines a common set of fields to be used when storing event data like logs in Elasticsearch. +The [Elastic Common Schema (ECS)][Elastic Common Schema (ECS)](ecs://reference/index.md)) is an open source format that defines a common set of fields to be used when storing event data like logs in Elasticsearch. You can use the library [ecs-logging](https://github.com/elastic/ecs-logging-ruby) which is a set of libraries that enables you to transform your application logs to structured logs that comply with the ECS format. @@ -33,5 +33,5 @@ client = Elasticsearch::Client.new(logger: logger) {"@timestamp":"2022-07-12T05:31:18.590Z","log.level":"INFO","message":"GET http://localhost:9200/ [status:200, request:0.009s, query:n/a]","ecs.version":"1.4.0"}... ``` -See [ECS Logging Ruby Reference](ecs-logging-ruby://docs/reference/index.md) for more information on how to configure the logger. +See [ECS Logging Ruby Reference](ecs-logging-ruby://reference/index.md) for more information on how to configure the logger.