Fluent::Plugin::Resolv, a plugin for Fluentd
Fluent plugin, IP address resolv and rewrite.
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
<match hoge.foo>
type resolv
</match>
-
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.
using ruby Resolv.
any patches, fork and so on. welcome !