Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 807 Bytes

File metadata and controls

33 lines (22 loc) · 807 Bytes

fluent-plugin-flatten_filter

MIT License

Fluentd Filter plugin to de-dot field name for elasticsearch.

Usage

<filter **>
  @type             flatten
  enabled           true
  field             app.kubernetes.io/
  recurse           false
  separator         _
</filter>

Parameters

  • enabled (default: true)
  • field Regex of key fields to be flattenned
  • recurse (default: false)
  • separator (default: '_')

separator cannot be or contain '.'.

recurse will cause the plugin to recurse through nested structures (hashes and arrays), and flatten in those key-names too.

License

The gem is available as open source under the terms of the MIT License.