File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 15
15
"type" : " string" ,
16
16
"required" : true ,
17
17
"index" : 1 ,
18
- "url" : " https://www.elastic.co/guide/en/ecs/current/ecs-log.html"
18
+ "top_level_field" : true ,
19
+ "url" : " https://www.elastic.co/guide/en/ecs/current/ecs-log.html" ,
20
+ "comment" : [
21
+ " This field SHOULD NOT be a nested object field but at the top level with a dot in the property name." ,
22
+ " This is to make the JSON logs more human-readable." ,
23
+ " Loggers MAY indent the log level so that the `message` field always starts at the exact same offset," ,
24
+ " no matter the number of characters the log level has." ,
25
+ " For example: `'DEBUG'` (5 chars) will not be indented, whereas ` 'WARN'` (4 chars) will be indented by one space character."
26
+ ]
19
27
},
20
28
"message" : {
21
29
"type" : " string" ,
You can’t perform that action at this time.
0 commit comments