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

posted @ 2019-09-02 16:52  yu_fly  阅读(1845)  评论(0)    收藏  举报