Open cdenneen opened 6 years ago
@jsvd @robbavey Looks like we've had issues with these fields being parsed and mapped properly for > 3 years now. Can we have someone look into way to fix this? I'll even POST a custom template/mapping to fix these issues if that's the only solution.
Just to chime in for anyone landing here, the codec parses JSON records and does a few tricks to adjust the layout.
One of the ways forward here would be to adapt the plugin to Elastic Common Schema and leverage a predictable flat layout (similar to the one Beats has been using). This would be a separate plugin execution mode, similar to other codecs, as changing the current event layout might break backwards compatibility others might be relying upon.
The plugin mostly relies on support from the community and the last related update has been done by a plugin user.
Logstash 6.4.2 logstash-codec-cloudtrail (3.0.5) still has same problem (#15).
responseElements
andrequestParameters
(and their children likerequestParameters.iamInstanceProfile
)