Sha256: 54bf5ed0523ac7f433c57fc87c5f7970a007025e2a6cb2c115a00a3475efc708

Contents?: true

Size: 969 Bytes

Versions: 1

Compression:

Stored size: 969 Bytes

Contents

# Fluent::Plugin::URIDecoder

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.1.0 README.md