Closed ogero closed 3 years ago
This PR drops the usage of ECS structs from github.com/elastic/ecs/code/go/ecs in favor of custom structs to omit marshaling empty/unavailable ECS fields. The added struct types contain json:name,omitempty tags along with ecs tags.
ECS
json:name,omitempty
ecs
This PR drops the usage of
ECS
structs from github.com/elastic/ecs/code/go/ecs in favor of custom structs to omit marshaling empty/unavailable ECS fields.The added struct types contain
json:name,omitempty
tags along withecs
tags.