Giter Site home page Giter Site logo

fysoft2006 / flume-elasticsearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devops-tangome/flume-elasticsearch

0.0 2.0 0.0 251 KB

Elasticsearch sink serializer for Apache Flume. It adds the ability to specify the index format through the "indexFormat" parameter

License: Apache License 2.0

Java 100.00%

flume-elasticsearch's Introduction

flume-elasticsearch

Flume Elasticsearch Sink Serializer.

This adds the ability to specify the index format through the "indexFormat" parameter

License

This is released under Apache License v2

Example configuration

Example sink configuration:

agent.sinks.elasticsearch.type = elasticsearch agent.sinks.elasticsearch.hostNames = 127.0.0.1 agent.sinks.elasticsearch.indexName = logstash agent.sinks.elasticsearch.clusterName = logstash agent.sinks.elasticsearch.batchSize = 5000 agent.sinks.elasticsearch.ttl = 2 agent.sinks.elasticsearch.serializer = com.tango.logstash.flume.elasticsearch.sink.LogstashEventSerializerIndexRequestBuilderFactory agent.sinks.elasticsearch.serializer.indexFormat = yyyy.MM.dd-HH

Building

This project uses maven for building all the artefacts. You can build it with the following command: mvn clean install

This will build the following artefacts:

  • flume-elasticsearch-dist/target/flume-elasticsearch-1.0.0-SNAPSHOT-dist.tar.gz The tarball can be directly unpacked into Apache Flume plugins.d directory

  • flume-elasticsearch-dist/target/rpm/tango-flume-elasticsearch/RPMS/noarch/tango-flume-elasticsearch-1.0.0-SNAPSHOT*.noarch.rpm This package will install itself on top of Apache Flume package and be ready for use right away.

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.