Record Transformer 🔗︎

Overview 🔗︎

Mutates/transforms incoming event streams.

Configuration 🔗︎

RecordTransformer 🔗︎

remove_keys (string, optional) 🔗︎

A comma-delimited list of keys to delete

Default: -

keep_keys (string, optional) 🔗︎

A comma-delimited list of keys to keep.

Default: -

renew_record (bool, optional) 🔗︎

Create new Hash to transform incoming data

Default: false

renew_time_key (string, optional) 🔗︎

Specify field name of the record to overwrite the time of events. Its value must be unix time.

Default: -

enable_ruby (bool, optional) 🔗︎

When set to true, the full Ruby syntax is enabled in the ${…} expression.

Default: false

auto_typecast (bool, optional) 🔗︎

Use original value type.

Default: true

records ([]Record, optional) 🔗︎

Add records docs at: Records are represented as maps: key: value

Default: -

Example Record Transformer filter configurations 🔗︎

kind: Flow
 name: demo-flow
   - record_transformer:
       - foo: "bar"
 selectors: {}
   - demo-output

Fluentd Config Result 🔗︎

<filter **>
 @type record_transformer
 @id test_record_transformer
   foo bar