|
73 | 73 | "url": "https://www.elastic.co/guide/en/ecs/current/ecs-service.html", |
74 | 74 | "comment": [ |
75 | 75 | "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." |
77 | 86 | ] |
78 | 87 | }, |
79 | 88 | "event.dataset": { |
80 | 89 | "type": "string", |
81 | 90 | "required": false, |
82 | 91 | "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}", |
84 | 93 | "comment": [ |
85 | 94 | "Configurable by users.", |
86 | 95 | "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.", |
88 | 97 | "", |
89 | 98 | "When agents auto-configure the app to use an ECS logger,", |
90 | 99 | "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}`", |
92 | 101 | "", |
93 | 102 | "The field helps to filter for different log streams from the same pod, for example and is required for log anomaly detection." |
94 | 103 | ] |
|
0 commit comments