This plugin does two things:
- Sorts the fields in each record according to the default ruby
#Array.sort
- Removes fields who's values it considers to either be
nil?
orempty?
<filter **>
@type record_sort
</filter>
AWS Athena and Glue prefer sorted JSON in S3 that has truthy values for all keys.