Fluent::Plugin::tagged_udp
Fluent plugin for tagged UDP Input/Output. This plugin is a special plugin to submit a message as a UDP packet. While fluentd's default UDP Input plugin supports to add a tag to the received message, this plugin support to add tag name separated by a special character.
Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-tagged_udp'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-tagged_udp
Usage
fluent-plugin-tagged_udp provides UDP input/output function for fluentd.
Input plugin can be used via source directive.
<source **>
type tagged_udp
bind 127.0.0.1
port 20001
format json # required
</source>
Optional parameters are as follows:
- tag_sep: separator of tag name. default is "\t"
Output Plugin can be used via match directive.
<match **>
type tagged_udp
host 127.0.0.1
port 20001
</match>
Contributing
- Fork it ( http://github.com/toyokazu/fluent-plugin-tagged_udp/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
License
The gem is available as open source under the terms of the MIT License.