I am trying to understand how to tail a file with flume-ng so that I can push the data into HDFS. In the first instance I have setup a simple conf file:
Because /var/log/apache2/access.log is not big enough to let flume print the lines of file
So just try thisas following,you can find out the output in console
for i in {1..100}; do echo "tail log test$i" >> var/log/apache2/access.log;done