Scenario

You already have an exiting installation of Flume but want to collect data into backend other than HDFS (for which Flume is optimized).

The benefit of this approach is:

  1. No need to gut out the existing Flume instances.
  2. Take advantage of Fluentd's rich set of output plugins. For example, sending data to both HDFS and Amazon S3.

Setup

  1. Install the Flume input plugin by running the following command

    $ fluent-gem install fluent-plugin-flume
    
  2. Open your Fluentd configuration file and add the following lines:

    <source>
        type flume
        bind YOUR_FLUME_SERVER_HOST
        port YOUR_FLUME_PORT 
    </source>
    

    By default, bind is localhost and port is 56789.

Note

This article is for Flume-Legacy. If you use Flume-NG, please see this article: datasources/flume-ng

What's Next?

It's time to configure data outputs. Here are some examples.

Learn

Want to learn the basics of Fluentd? Check out these pages.

Ask the Community

Couldn't find enough information? Let's ask the community!

Ask the Experts

You need commercial-grade support from Fluentd committers and experts?