Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 806 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 806 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 '.'. recurce 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.