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