filebeat 配置输出到kafka,并不连接kibana


使用filebeat做实时输出流,进行实时日志流分析,取消默认的Elasticsearch与kibana配置,filebeat 配置输出到kafka,并不连接kibana   配置filebeat.yml文件

1.配置输出到kafka

#================================ Outputs =====================================

# Configure what output to use when sending the data collected by the beat.
output.kafka:
enabled: true
hosts: ["localhost:9092"]
topic: ad-log

 

2.配置Dashboards 不连接kibana   

#============================== Dashboards =====================================
# These settings control loading the sample dashboards to the Kibana index. Loading
# the dashboards is disabled by default and can be enabled either by setting the
# options here or by using the `setup` command.
setup.dashboards.enabled: false


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM