Skip to content

v9n/fluent-plugin-rethink

Repository files navigation

[![wercker status](app.wercker.com/status/0c72e5a36e4af70eed99c174a4be97c4/s “wercker status”)](app.wercker.com/project/bykey/0c72e5a36e4af70eed99c174a4be97c4)

fluent-plugin-rethink provides input and output plugins for Fluentd (GitHub)

The gem is hosted at Rubygems.org. You can install the gem as follows:

$ gem install fluent-plugin-rethink

Store Fluentd event to RethinkDB database.

Use rethink type in match.

<match rethink.**>
  type rethink
  database fluent
  table test

  # Following attibutes are optional
  host localhost
  port 28015

  # Other buffer configurations here
</match>

It’s useful if we want to log message into tables based on its tag. This can be done with ‘auto_tag_table`

<match myapp>
  type rethink
  database fluent
  auto_tag_table true

  # Following attibutes are optional
  host localhost
  port 28015

  # Other buffer configurations here
</match>

With this configuraiton, all message will be written into ‘myapp` table.

Run following command:

$ bundle exec rake test
Copyright

Copyright © 2014- kureikain

License

Apache License, Version 0.1.0

About

RethinkDB plugin for FluentD data collector

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages