logstash-plugins / logstash-filter-mutate

Apache License 2.0
16 stars 75 forks source link

Add set function to mutate #99

Open suyograo opened 7 years ago

suyograo commented 7 years ago

To match ingest node's set processor functionality, add set { } in mutate. This would mirror ingest behavior of inserting, upserting, or updating the field.

Mutate's existing update will only update if the field exists. An option is to fold the set behavior into update but that will be a breaking change.

If we introduce set, we can deprecate update