Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion ecs-logging-core/src/test/resources/spec/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@
"ecs.version": {
"type": "string",
"required": true,
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-ecs.html"
"top_level_field": true,
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-ecs.html",
"comment": [
"This field SHOULD NOT be a nested object field but at the top level with a dot in the property name.",
"This is to make the JSON logs more human-readable."
]
},
"labels": {
"type": "object",
Expand Down