fluent-plugin-uri_decoder, a plugin for Fluentd
Fluent plugin to decode uri encoded value.
Add this line to your application's Gemfile:
gem 'fluent-plugin-uri_decoder'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-uri_decoder
Specify decode target with key_name
:
<match input.**>
type uri_decode
key_name query_param
remove_prefix input
add_prefix decoded
</match>
This re-emits decoded.**
tagged message with uri decoded.
If you have multiple decode target, use key_names
with comma separated:
<match input.**>
type uri_decode
key_names first_query_param, second_query_param
remove_prefix input
add_prefix decoded
</match>
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request