Flume installation and deployment_Collection scheme configuration file writing case_Starting the agent to collect data

Read the full texthttp : //click.aliyun.com/m/23233/
1.2 Flume actual combat case
1.2.1 Flume installation and deployment Install the package on the node where the data source is located, and then decompress the tar -zxvf apache-flume-1.6.0-bin.tar.gz. The final decompression location is: /home/tuzq/software/apache-flume-1.6.0-bin Then enter the flume directory, modify flume-env.sh under conf, and configure JAVA_HOME in it and write a picture description here 2. Configure the collection plan according to the needs of data collection, and describe it in the configuration file (the file name can be customized) 3. Specify the configuration file of the collection plan, and start the flume agent on the corresponding node. First, use the simplest example to test whether the program environment is normal . 1. First, create a new file vi netcat-logger.conf in the conf directory of flume (this is our The configuration file of the collection scheme defined by yourself) read the full text http://click.aliyun.com/m/23233/













Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326185781&siteId=291194637