Sha256: 6e1edbfbec7e09c25b6f689e4fdc14dca505e419532fc131cb4ec33299dcc7f2

Contents?: true

Size: 968 Bytes

Versions: 3

Compression:

Stored size: 968 Bytes

Contents

# fluent-plugin-uri_decoder

Fluent plugin to decode uri encoded value.

## Installation

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

## Usage

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>
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-uri_decoder-0.2.0 README.md
fluent-plugin-uri_decoder-0.1.2 README.md
fluent-plugin-uri_decoder-0.1.1 README.md