Amirioelmos / fluent-plugin-add

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fluent-plugin-add, a plugin for Fluentd

Installation

gem install fluent-plugin-add

Configration

<match test.**>
  type add
  add_tag_prefix debug
  <pair>
    hoge moge
    hogehoge mogemoge
  </pair>
</match>

Assuming following inputs are coming:

test.aa: {"json":"dayo"}

then output bocomes as belows

debug.test.aa: {"json":"dayo", "hoge":"moge","hogehoge":"mogemoge"}

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

Copyright

Copyright (c) 2013 yu-yamada

About

License:MIT License


Languages

Language:Ruby 100.0%