Sha256: 7b6df45b1e9215ee79aa42f9c98c1259e4ad011238405e0a016bb548a60cb834

Contents?: true

Size: 1012 Bytes

Versions: 1

Compression:

Stored size: 1012 Bytes

Contents

# fluent-plugin-uri_decoder, a plugin for [Fluentd](http://fluentd.org)

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

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-uri_decoder-0.3.0 README.md