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