Flume-ng installation and simple use examples

Source: Internet
Author: User

1. Install the JDK.

2. Download the decompression flume, modify the bin/netcat-memory-logger.conf, the content is as follows:

agent1.sources = Sources1agent1.channels = Channels1 Agent1.sinks = Sinks1agent1.sources.sources1.type = Netcatagent1.sources.sources1.bind = Localhostagent1.sources.sources1.port = 44444agent1.channels.channels1.type = memoryagent1.channels.channels1.capacity = 1000agent1.channels.channels1.transactioncapacity = 100agent1.sinks.sinks1.type = Loggeragent1.sources.sources1.channels = Channels1agent1.sinks.sinks1.channel = Channels1

3. Start Flume-ng

Bin/flume-ng agent--conf conf--conf-file bin/netcat-memory-logger.conf--name Agent1-dflume.root.logger=info, Console

4. Then open a Shell terminal window, Telnet configuration on the listening port, you can send a message to see the effect, the Flume terminal window will print out the information at this time, indicating success.

Reference:

Flume NG Introduction and Configuration Combat

Flume (NG) Architecture design Essentials and configuration practices

Flume-ng installation and simple use examples

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.