这里是扫描我root/logs下面的文件,sink发送端type=logger就是默认直接显示,把其余的type注释掉就可以啦
读取的数据
运行flume,显示读取的数据(中文读取不出来)
flume运行命令
flume-ng agent -n a1 -c conf -f /opt/software/flume-1.7.0/conf/flume-poll.conf -Dflume.root.logger=INFO,console
这里是扫描我root/logs下面的文件,sink发送端type=logger就是默认直接显示,把其余的type注释掉就可以啦
读取的数据
运行flume,显示读取的数据(中文读取不出来)
flume运行命令
flume-ng agent -n a1 -c conf -f /opt/software/flume-1.7.0/conf/flume-poll.conf -Dflume.root.logger=INFO,console