From a07e714a0b7f589423fa8f2241210d496a7d10d1 Mon Sep 17 00:00:00 2001 From: Felix Barnsteiner Date: Mon, 23 Aug 2021 11:47:58 +0200 Subject: [PATCH] Remove .log suffix from default event.dataset --- spec/spec.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/spec.json b/spec/spec.json index 8ed1e3f..7a5f6be 100644 --- a/spec/spec.json +++ b/spec/spec.json @@ -89,15 +89,15 @@ "type": "string", "required": false, "url": "https://www.elastic.co/guide/en/ecs/current/ecs-event.html", - "default": "${service.name}.log OR ${service.name}.${appender.name}", + "default": "${service.name} OR ${service.name}.${appender.name}", "comment": [ "Configurable by users.", "If the user manually configures the service name,", - "the logging library should set `event.dataset=${service.name}.log` if not explicitly configured otherwise.", + "the logging library should set `event.dataset=${service.name}` if not explicitly configured otherwise.", "", "When agents auto-configure the app to use an ECS logger,", "they should set `event.dataset=${service.name}.${appender.name}` if the appender name is available in the logging library.", - "Otherwise, agents should also set `event.dataset=${service.name}.log`", + "Otherwise, agents should also set `event.dataset=${service.name}`", "", "The field helps to filter for different log streams from the same pod, for example and is required for log anomaly detection." ]