logstash-plugins / logstash-filter-mutate

Apache License 2.0
16 stars 75 forks source link

Allow convert to work on regex of fields #64

Open bmatican opened 8 years ago

bmatican commented 8 years ago

When dealing with lots of fields that need conversions and are easy to group together (IDs with same prefix/suffix, etc), it would be awesome to be able to convert all of them through a regex instead of manually listing all of them and needing to go back and update the list of conversions when new fields are added...

Example:

# instead of this
filter { mutate { convert {
  "some_id" => "string"
  "some_other_id" => "string"
}}}

# have this
filter { mutate { convert {
  "*_id" => "string"
}}}
dawiduniec commented 8 years ago

Why is it closed?

guyboertje commented 8 years ago

@xfreakx - logstash/4591 is closed because its not a logstash issue - its a plugin issue and so it was moved here.