Skip to content

Commit 760f1f4

Browse files
authored
Remove .log suffix from default event.dataset (#63)
1 parent a617a44 commit 760f1f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/spec.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@
8989
"type": "string",
9090
"required": false,
9191
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-event.html",
92-
"default": "${service.name}.log OR ${service.name}.${appender.name}",
92+
"default": "${service.name} OR ${service.name}.${appender.name}",
9393
"comment": [
9494
"Configurable by users.",
9595
"If the user manually configures the service name,",
96-
"the logging library should set `event.dataset=${service.name}.log` if not explicitly configured otherwise.",
96+
"the logging library should set `event.dataset=${service.name}` if not explicitly configured otherwise.",
9797
"",
9898
"When agents auto-configure the app to use an ECS logger,",
9999
"they should set `event.dataset=${service.name}.${appender.name}` if the appender name is available in the logging library.",
100-
"Otherwise, agents should also set `event.dataset=${service.name}.log`",
100+
"Otherwise, agents should also set `event.dataset=${service.name}`",
101101
"",
102102
"The field helps to filter for different log streams from the same pod, for example and is required for log anomaly detection."
103103
]

0 commit comments

Comments
 (0)