goodstudy 2020-06-05
在 Elasticsearch、Kibana、Beats 安装 中讲到推荐架构:

本文基于 Logstash + Beats 读取 Spring Boot 日志 将其改为上述架构
如果没有安装 Kafka 需要首先安装:http://kafka.apache.org/quickstart ,如果需要后台运行添加 -daemon 即可
修改 output
output.kafka: hosts: ["localhost:9092"] topic: demo
修改 input
input {
kafka {
bootstrap_servers => "localhost:9092"
topics => "demo"
}
}