elastic / ecs-logging-java

https://www.elastic.co/guide/en/ecs-logging/java/current/intro.html
Apache License 2.0
139 stars 74 forks source link

Make all fields under log.origin.* be consistently nested #120

Closed felixbarny closed 3 years ago

felixbarny commented 3 years ago

e.g. "log":{"origin":{"file":{"name": "Foo.java"}}} instead of"log.origin":{"file.name": "Foo.java"}

Extend validator to check top_level_field and lookup both nested and dotted fields.

Note: log.level and log.logger remain to be dotted fields.

apmmachine commented 3 years ago

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview

Expand to view the summary

#### Build stats * Build Cause: `Pull request #120 opened` * * Start Time: 2021-01-20T15:00:14.203+0000 * Duration: 7 min 52 sec * Commit: bcb16359012b31ce0b682ece012a5d63f802c380 #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 0 | | Passed | 144 | | Skipped | 4 | | Total | 148 |