Skip to content

Commit

Permalink
Remove .log suffix from default event.dataset (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbarny committed Aug 30, 2021
1 parent a617a44 commit 760f1f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
Expand Down

0 comments on commit 760f1f4

Please sign in to comment.