flume实时监听采集日志文件到kafka和hdfs上
我需要采集的数据为访问日志vi ibike_access.confa1.sources = r1a1.channels = c1a1.sinks = k1a1.sources.r1.type = execa1.sources.r1.command =tail -F /opt/ibike/log/ibike_access.logssa1.sources.r1.shell = /bin/sh -ca1.sources.r1.fileHeader = truea1.channels.c1.
原创
2020-07-11 17:35:28 ·
843 阅读 ·
1 评论