Coder Social home page Coder Social logo

fluent-plugin-kinesis's Introduction

Fluent::Plugin::Kinesis

Overview

Output plugin for Amazon Kinesis.

Configuration

    type kinesis

    stream_name YOUR_STREAM_NAME

    aws_key_id YOUR_AWS_ACCESS_KEY
    aws_sec_key YOUR_SECRET_KEY
    region us-east-1

    partition_key PARTITION_KEY

    # partition_key is JSON Object Hash Key for PartitionKey
    # e.g.)
    #   JSON Object: {'foo': 100, 'bar': 200}
    #   fluentd conf: partition_key=foo
    #   -> PutRecord Action: PartitionKey=100

    #partition_key_proc proc {|record| record['foo'] }

    #explicit_hash_key ...
    #explicit_hash_key_proc ...

    #debug false
    #include_tag true
    #include_time true

    #sequence_number_for_ordering SEQUENCE_NUMBER

[stream_name] Name of the stream to put data.

[aws_key_id] AWS access key id. This parameter is required when your agent is not running on EC2 instance with an IAM Instance Profile.

[aws_sec_key] AWS secret key. This parameter is required when your agent is not running on EC2 instance with an IAM Instance Profile.

[region] AWS region of your stream. It should be in form like these "us-east-1", "us-west-1".

[partition_key] The key to designate for partition key in Amazon Kinesis.

Install

Install via gem/fluent-gem. Currently this code is not published in rugygems.org not yet, so you have to build by yourself. Please be patient.

git clone https://github.com/imaifactory/fluent-plugin-kinesis.git
cd fluent-plugin-kinesis
rake build
(gem|fluent-gem) install pkg/fluent-plugin-kinesis-0.0.1.gem

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

fluent-plugin-kinesis's People

Contributors

yuta-imai avatar

Watchers

James Cloos avatar  avatar

Forkers

suzuken

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.