Closed Mpdreamz closed 1 year ago
Note (to self, I guess): I'll have to change the node.js ecs-logging libs to do this. Currently they are written log records like this:
{"log.level":"debug","@timestamp":"2023-01-19T17:51:47.649Z","log":{"logger":"elastic-apm-node"},"ecs":{"version":"1.6.0"},"message":"..."}
Yeah, python only does this with log.level
right now, iirc.
Thanks for the reviews! Merging now.
This ensures the
ecs.version
is always written as top level field without arbitrary nesting it.This aligns the spec closer to the written documentation:
https://github.com/elastic/ecs-logging/tree/main/spec#minimum-viable-product