Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

sampointer/fluent-plugin-record-sort

Repository files navigation

Fluentd Sort Plugin CircleCI Gem Version

Introduction

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? or empty?

Configuration

<filter **>
  @type record_sort
</filter>

Rationale

AWS Athena and Glue prefer sorted JSON in S3 that has truthy values for all keys.

About

Fluentd plugin for sorting record fields

Resources

License

Stars

Watchers

Forks

Packages

No packages published