fluent-plugin-condition-checker

Fluentd output plugin to do something.

TODO: write description for you plugin.

Installation

RubyGems

$ gem install fluent-plugin-condition-checker

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-condition-checker"

And then execute:

$ bundle

Configuration

<match **>
  @type condition-checker
  <condition>
    condition record["faceId"] != nil
    tag exists_face
    <data>
      concept exists_face
    </data>
  </condition>
  <condition>
    condition record["faceId"] -= nil
    tag no_face
    <data>
      concept no_face
    </data>
  </condition>
</match>

You can generate configuration template:

$ fluent-plugin-config-format output condition-checker

You can copy and paste generated documents here.

Development

  1. test!
bundle exec rake test
  • Copyright(c) 2020- wally
  • License
    • Apache License, Version 2.0