Skip to content

Latest commit

 

History

History
56 lines (29 loc) · 701 Bytes

README.md

File metadata and controls

56 lines (29 loc) · 701 Bytes

Fluent::Plugin::Resolv, a plugin for Fluentd

Fluent plugin, IP address resolv and rewrite.

Installation

Add this line to your application's Gemfile:

gem 'fluent-plugin-resolv'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fluent-plugin-resolv

Usage

<match hoge.foo>
  type resolv
</match>

Configuration

  • key_name

    target key. default is host.

  • add_prefix / remove_prefix

    remove_prefix: removes the string from a prefix of tag.

    add_prefix: prepend the string to a tag.

inside

using ruby Resolv.

TODO

any patches, fork and so on. welcome !