Record Transformer
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: https://docs.fluentd.org/filter/record_transformer Records are represented as maps: key: value
Default: -
Example Record Transformer
filter configurations
Fluentd Config Result
Last modified June 28, 2023: Sets body attribute for pagefind (6eda193)