From 6b65d53f09450267209d2b67d1b365abedaece1b Mon Sep 17 00:00:00 2001 From: apmmachine Date: Wed, 24 Mar 2021 16:13:48 +0000 Subject: [PATCH] synchronize ecs-logging spec --- tests/resources/spec.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/resources/spec.json b/tests/resources/spec.json index a179e59..2c1dfdc 100644 --- a/tests/resources/spec.json +++ b/tests/resources/spec.json @@ -31,9 +31,13 @@ }, "message": { "type": "string", - "required": true, + "required": false, "index": 2, - "url": "https://www.elastic.co/guide/en/ecs/current/ecs-base.html" + "url": "https://www.elastic.co/guide/en/ecs/current/ecs-base.html", + "comment": [ + "A message field is typically included in all log records, but some logging libraries allow records with no message.", + "That's typically the case for libraries that allow for structured logging." + ] }, "ecs.version": { "type": "string",