update doc

This commit is contained in:
zhh 2018-11-23 14:45:39 +08:00
parent 3b31f4566e
commit b74ae2b50f

View File

@ -1,10 +1,10 @@
# windows下的elk环境搭建 # windows下的elk环境搭建
## 下载 ## 下载
下载页面https://www.elastic.co/downloads/past-releases - 下载页面https://www.elastic.co/downloads/past-releases
ElasticSearch:https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-6 - ElasticSearch:https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-6
Logstash:https://www.elastic.co/downloads/past-releases/logstash-2-4-0 - Logstash:https://www.elastic.co/downloads/past-releases/logstash-2-4-0
Kibana:https://www.elastic.co/downloads/past-releases/kibana-4-6-0 - Kibana:https://www.elastic.co/downloads/past-releases/kibana-4-6-0
## 安装 ## 安装
下载zip包并进行解压 下载zip包并进行解压
@ -12,10 +12,10 @@ Kibana:https://www.elastic.co/downloads/past-releases/kibana-4-6-0
## 运行 ## 运行
### logstash配置运行 ### logstash配置运行
添加logstash配置文件logstash-springboot.conf - 添加logstash配置文件logstash-springboot.conf
安装logstash-codec-json_lines插件plugin install logstash-codec-json_lines - 安装logstash-codec-json_lines插件plugin install logstash-codec-json_lines
运行logstash命令logstash -f logstash-springboot.conf - 运行logstash命令logstash -f logstash-springboot.conf
## SpringBoot整合logstash ## SpringBoot整合logstash
引入依赖包https://github.com/logstash/logstash-logback-encoder - 引入依赖包https://github.com/logstash/logstash-logback-encoder
添加配置文件logback-spring.xml - 添加配置文件logback-spring.xml