logstash-filter-mutate icon indicating copy to clipboard operation
logstash-filter-mutate copied to clipboard

Convert to universal plugin with multiple inner plugins

Open jsvd opened this issue 6 years ago • 0 comments

Currently mutate filter performs multiple mutations:

filter {
  mutate {
    rename => { .. }
    convert => { .. }
    gsub => { .. }
  }
}

However the user defined order doesn't correspond to the execution order as that is hard coded.

Using an universal plugin, we could provide each mutation as a top level filter:

filter {
  rename => { .. }
  convert => { .. }
  gsub => { .. }
}

jsvd avatar Nov 27 '19 12:11 jsvd