Skip to content

sonots/fluent-plugin-copy_ex

Repository files navigation

fluent-plugin-copy_ex

Fluentd out_copy extension

What is this for?

Think of out_copy configuration as followings:

<match **>
  type copy
  <store>
    type plugin1
  </store>
  <store>
    type plugin2
  </store>
</match>

In the current Fluentd, when plugin1 raises an error internally, the chain is broken and the plugin2 is not executed.

The out_copy_ex supplies ignore_error option so that it will not break the chain and the plugin2 is executed.

See fluent/fluentd#303 for discussions.

Configuration

<match **>
  type copy_ex
  <store ignore_error>
    type plugin1
  </store>
  <store ignore_error>
    type plugin2
  </store>
</match>

Parameters

Basically same with out_copy plugin. See http://docs.fluentd.org/articles/out_copy

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

ChangeLog

See CHANGELOG.md for details.

Copyright

  • Copyright (c) 2014- Naotoshi Seo
  • See LICENSE for details.