Skip to content

atware/fluent-plugin-couchbase

This branch is 2 commits ahead of obieq/fluent-plugin-couchbase:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
KOMATSU Seiji
Oct 22, 2015
8279466 · Oct 22, 2015

History

6 Commits
Oct 22, 2015
Oct 22, 2015
Dec 27, 2012
Oct 22, 2015
Oct 22, 2015
Dec 27, 2012
Oct 22, 2015
Jul 1, 2013
Dec 27, 2012
Jul 1, 2013
Jul 1, 2013
Oct 22, 2015

Repository files navigation

Couchbase 2.0 plugin for Fluentd

Couchbase 2.0 output plugin for Fluentd.

Installation

via RubyGems

fluent-gem install fluent-plugin-couchbase

Quick Start

Setup Couchbase Server 2.0 Environment

# install couchbase server 2.0
  http://www.couchbase.com/download

# install libcouchbase
  http://www.couchbase.com/develop/c/current

# install couchbase gem
  gem install couchbase

Fluentd.conf Configuration

<match couchbase.**>
  type couchbase      # fluent output plugin file name (sans fluent_plugin_ prefix)
  hostname localhost  # host name
  port 8091           # port name
  pool default        # pool name
  bucket default      # bucket name
  ttl 0               # number of seconds before document expires. 0 = no expiration
  include_ttl false   # store the ttl value w/ each document
</match>

Tests

rake

NOTE: requires the following:
      1) Couchbase Server 2.0
      2) libcouch
      3) couchbase gem
      4) update spec/out_couchbase_spec.rb with your
         hostname, port, pool, and bucket prior to running the tests

TODOs

1) specify multiple nodes?

About

Couchbase 2.0 Fluentd Output Plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%