Back

Flume

Start up a logagent.

flume-ng agent -n logagent -f logagent.conf -Dflume.log.dir=var/log/flume/ -Dflume.log.file=logagent.log &

Feed data into flume

flume-ng avro-client -H node1 -p 8888 -C /usr/hdp/2.3.2.0-2950/flume/lib/flume-ng-core-1.5.2.2.3.2.0-2950.jar -F test.log
  • bigdata/flume.txt
  • Last modified: 2018/05/25 13:05
  • (external edit)