This guide installs Apache Flume and configures a basic agent.
Download the latest binary release from the Apache Flume website and extract it:
tar -xvzf apache-flume-1.11.0-bin.tar.gz
cd apache-flume-1.11.0-bin
Create conf/flume.conf with a simple source-channel-sink flow:
agent.sources = src
agent.channels = ch
agent.sinks = sink
agent.sources.src.type = netcat
agent.sources.src.bind = 0.0.0.0
agent.sources.src.port = 44444
agent.channels.ch.type = memory
agent.sinks.sink.type = logger
agent.sinks.sink.channel = ch
bin/flume-ng agent -n agent -c conf -f conf/flume.conf
echo "hello" | nc 127.0.0.1 44444
See Apache Flume Configuration for configuration guidance.
Any questions?
Feel free to contact us. Find all contact information on our contact page.
Prefer automation? See Apache Flume Ansible Setup for an example playbook.
Prefer containers? See Apache Flume Docker Setup.
See Apache Flume Security for hardening guidance.