Record Transformer 🔗︎

Overview 🔗︎

Mutates/transforms incoming event streams.

Configuration 🔗︎

RecordTransformer 🔗︎

Variable Name Type Required Default Description
remove_keys string No - A comma-delimited list of keys to delete
keep_keys string No - A comma-delimited list of keys to keep.
renew_record bool No false Create new Hash to transform incoming data
renew_time_key string No - Specify field name of the record to overwrite the time of events. Its value must be unix time.
enable_ruby bool No false When set to true, the full Ruby syntax is enabled in the ${…} expression.
auto_typecast bool No true Use original value type.
records []Record No - Add records docs at:
Records are represented as maps: key: value

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