摘要: 监控data.log文件新增内容显示到控制台 修改之前的example文件对应部分替换为: # Describe/ configure the source a1.sources.r1.type = exec a1.sources.r1.command = tail -F /opt/module/d 阅读全文
posted @ 2022-03-16 10:38 风吹过半夏 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 从指定网络端口输出数据到控制台: 编写example.conf文件在flume的conf文件夹下: #name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/ config 阅读全文
posted @ 2022-03-16 10:28 风吹过半夏 阅读(40) 评论(0) 推荐(0) 编辑
摘要: Flume安装 下载flume,解压到指定目录 tar -zxf apache-flume-1.9.0-bin.tar.gz -C /opt/software/ 在flume的conf文件夹下新建log-kafka.properties 内容为: agent.sources = exectail a 阅读全文
posted @ 2022-03-16 08:29 风吹过半夏 阅读(111) 评论(0) 推荐(0) 编辑