From a6ca7235c67f30f8867babe2aabb787f75b8a70e Mon Sep 17 00:00:00 2001 From: Felix Barnsteiner Date: Mon, 7 Jun 2021 15:46:44 +0200 Subject: [PATCH 1/3] Adding service.version --- spec/spec.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spec/spec.json b/spec/spec.json index 2c1dfdc..c96b850 100644 --- a/spec/spec.json +++ b/spec/spec.json @@ -76,6 +76,15 @@ "When an APM agent is active, they should auto-configure it if not already set." ] }, + "service.version": { + "type": "string", + "required": false, + "url": "https://www.elastic.co/guide/en/ecs/current/ecs-service.html", + "comment": [ + "Configurable by users.", + "When an APM agent is active, they should auto-configure it if not already set." + ] + }, "event.dataset": { "type": "string", "required": false, From c83d46ec66e1f0e190cfd4cc33f994c63d86fd63 Mon Sep 17 00:00:00 2001 From: Felix Barnsteiner Date: Mon, 2 May 2022 16:29:16 +0200 Subject: [PATCH 2/3] Update spec.json --- spec/spec.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec.json b/spec/spec.json index c96b850..0bc796f 100644 --- a/spec/spec.json +++ b/spec/spec.json @@ -79,10 +79,10 @@ "service.version": { "type": "string", "required": false, - "url": "https://www.elastic.co/guide/en/ecs/current/ecs-service.html", + "url": "https://www.elastic.co/guide/en/ecs/current/ecs-service.html#field-service-version", "comment": [ "Configurable by users.", - "When an APM agent is active, they should auto-configure it if not already set." + "When an APM agent is active, it should auto-configure it if not already set." ] }, "event.dataset": { From c7f84cfecf8af68fe11d0b836a972cb53e0aa60b Mon Sep 17 00:00:00 2001 From: Felix Barnsteiner Date: Mon, 2 May 2022 16:30:07 +0200 Subject: [PATCH 3/3] Add service.version example --- spec/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/README.md b/spec/README.md index f606c06..3771f8c 100644 --- a/spec/README.md +++ b/spec/README.md @@ -74,6 +74,7 @@ The following example describes a richer set of fields in an event that has not "trace.id": "4bf92f3577b34da6a3ce929d0e0e4736", "transaction.id": "00f067aa0ba902b7", "service.name": "opbeans", + "service.version": "1.2.3", "event.dataset": "opbeans.log" } ```