Skip to content

Commit 105c153

Browse files
author
Ding Bao Guo
committed
update
1 parent 92606eb commit 105c153

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

_posts/2019-07-15-448-kafka-elk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tags: [kafka, elk, 分布式日志收集, springboot]
1414
1. 我们是通过logback打印日志,然后将日志通过kafka消息队列发送到Logstash,经过处理以后存储到Elasticsearch中,然后通过Kibana图形化界面进行分析和处理。
1515
2. 我们使用Logstash读取日志文件,经过处理以后存储到Elasticsearch中,然后通过Kibana图形化界面进行分析和处理。例如我们读取nginx的日志文件,可以统计访问用户的ip地域,请求地址等等。
1616

17-
![](/uploads/2019/07/18-19.png)
17+
![](/uploads/2019/07/18-19.bmp)
1818

1919
# 实验环境
2020
+ centos 7.2
@@ -319,7 +319,7 @@ input {
319319
kafka {
320320
topics => "applog"
321321
type => "kafka"
322-
bootstrap_servers => "47.104.255.217:9092"
322+
bootstrap_servers => "101.132.227.185:9092"
323323
codec => "json"
324324
}
325325
}

uploads/2019/07/18-19.bmp

3.93 MB
Binary file not shown.

uploads/2019/07/18-19.png

-61 KB
Binary file not shown.

0 commit comments

Comments
 (0)