Skip to content

active-agent/logstash-codec-thrift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logstash Codec Thrift

Gem Version Build Status

Install

$ ./bin/plugin install logstash-codec-thrift

Usage

input {
  zeromq {
    codec => thrift {
      classname => "example_thrift_class"
      file => "/path/to/your/thrift/gen/ruby/example_thrift_class_types.rb"
      protocol_factory => "JsonProtocolFactory" # optional, defalut: BinaryProtocolFactory
    }
  }
}

Install dependencies

Install jruby:

$ brew install jruby

Install jruby bundler:

$ jruby -S gem install bundler

Install plugin dependencies:

$ jruby -S bundler install

Build & Install

Build Gem:

$ gem build logstash-codec-thrift.gemspec

Install Gem:

$ ./bin/plugin install /your/local/plugin/logstash-codec-thrift.gem