This website works better with JavaScript
首頁
探索
說明
登入
pangqijun
/
mall
關註
1
讚好
0
複刻
0
Files
問題管理
0
合併請求
0
Wiki
目錄樹:
dbead7c863
分支列表
標籤列表
master
mall
/
document
/
elk
/
elk.md
elk.md
752 B
文件歷史
原始文件
windows下的elk环境搭建
下载
下载页面:
https://www.elastic.co/downloads/past-releases
ElasticSearch:
https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-6
Logstash:
https://www.elastic.co/downloads/past-releases/logstash-2-4-0
Kibana:
https://www.elastic.co/downloads/past-releases/kibana-4-6-0
安装
下载zip包并进行解压
运行
logstash配置运行
添加logstash配置文件:logstash-springboot.conf
安装logstash-codec-json_lines插件:plugin install logstash-codec-json_lines
运行logstash命令:logstash -f logstash-springboot.conf
SpringBoot整合logstash
引入依赖包:
https://github.com/logstash/logstash-logback-encoder
添加配置文件:logback-spring.xml