1、编辑filebeat的配置文件
# cat filebeat.yml
filebeat.inputs:
- type: log
enabled: true
tail_files: true
paths:
- /data/www.example.com_clb_log
output.kafka:
hosts: ["10.105.100.10:9092"]
topic: "www.example.com"
1、编辑filebeat的配置文件
# cat filebeat.yml
filebeat.inputs:
- type: log
enabled: true
tail_files: true
paths:
- /data/www.example.com_clb_log
output.kafka:
hosts: ["10.105.100.10:9092"]
topic: "www.example.com"
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。