Skip to content

Commit 2469dd0

Browse files
author
apmmachine
committed
synchronize ecs-logging spec
1 parent 9bc98bb commit 2469dd0

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

utils/ecs-logging/spec.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,31 @@
7373
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-service.html",
7474
"comment": [
7575
"Configurable by users.",
76-
"When an APM agent is active, they should auto-configure it if not already set."
76+
"When an APM agent is active, it should auto-configure this field if not already set."
77+
]
78+
},
79+
"service.node.name": {
80+
"type": "string",
81+
"required": false,
82+
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-service.html",
83+
"comment": [
84+
"Configurable by users.",
85+
"When an APM agent is active and `service_node_name` is manually configured, the agent should auto-configure this field if not already set."
7786
]
7887
},
7988
"event.dataset": {
8089
"type": "string",
8190
"required": false,
8291
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-event.html",
83-
"default": "${service.name}.log OR ${service.name}.${appender.name}",
92+
"default": "${service.name} OR ${service.name}.${appender.name}",
8493
"comment": [
8594
"Configurable by users.",
8695
"If the user manually configures the service name,",
87-
"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.",
8897
"",
8998
"When agents auto-configure the app to use an ECS logger,",
9099
"they should set `event.dataset=${service.name}.${appender.name}` if the appender name is available in the logging library.",
91-
"Otherwise, agents should also set `event.dataset=${service.name}.log`",
100+
"Otherwise, agents should also set `event.dataset=${service.name}`",
92101
"",
93102
"The field helps to filter for different log streams from the same pod, for example and is required for log anomaly detection."
94103
]

0 commit comments

Comments
 (0)