Skip to content

Commit 09c07cf

Browse files
author
apmmachine
authored
synchronize ecs-logging spec (#125)
1 parent 80e1f44 commit 09c07cf

File tree

1 file changed

+6
-2
lines changed
  • ecs-logging-core/src/test/resources/spec

1 file changed

+6
-2
lines changed

ecs-logging-core/src/test/resources/spec/spec.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@
3131
},
3232
"message": {
3333
"type": "string",
34-
"required": true,
34+
"required": false,
3535
"index": 2,
36-
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-base.html"
36+
"url": "https://www.elastic.co/guide/en/ecs/current/ecs-base.html",
37+
"comment": [
38+
"A message field is typically included in all log records, but some logging libraries allow records with no message.",
39+
"That's typically the case for libraries that allow for structured logging."
40+
]
3741
},
3842
"ecs.version": {
3943
"type": "string",

0 commit comments

Comments
 (0)