logstash-plugins / logstash-filter-translate

Translate filter for Logstash
Apache License 2.0
21 stars 47 forks source link

optionally use event.sprintf on dictionary values #84

Open fholzer opened 4 years ago

fholzer commented 4 years ago

Introduces new configuration parameter dynamic that will enable use of event.sprintf on replacement values. dynamic defaults to false to not impact performance for current users of the plugin.

I added tests for single_value_update.rb, but not for array_of_maps_value_update.rb and array_of_values_update.rb yet.

Resolves #80. CC @guyboertje, as he's assigned to that issue.

fholzer commented 4 years ago

pinging @jsvd @guyboertje