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

The benefit of this approach is:

  1. Take advantage of Fluentd's rich set of output plugins. For example, sending data to both HDFS and Amazon S3.


  1. Install the Latest Flume-NG Fluentd Sink jar into ${FLUME_HOME}/lib:

    FLUME_HOME $ tree -L 1 .
    ├── DEVNOTES
    ├── LICENSE
    ├── NOTICE
    ├── README
    ├── bin
    ├── conf
    ├── docs
    ├── lib # <- Put flume-ng-fluentd-sink-LATEST_VERSION-all.jar here.
    └── tools
  2. Write Flume-NG configuration like this:

    a1.sinks = k1
    a1.sinks.k1.type = com.github.cosmo0920.fluentd.flume.plugins.FluentdSink
    al.sinks.k1.hostname = localhost
    a1.sinks.k1.port = 24224
    a1.sinks.k1.tag = flume.fluentd.sink
    a1.sinks.k1.format = text
  3. Open your Fluentd configuration file and add the following lines:

      type forward
      port 24224

    That's it. Now, you can send Flume-NG events into Fluentd via flume-ng-fluentd-sink.

What's Next?

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

Get Started

Ready to try? Download Fluentd and start collecting more data!


Get the Fluentd Newsletter


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

Ask the Community

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