Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
b74ae2b5
Commit
b74ae2b5
authored
Nov 23, 2018
by
zhh
Browse files
update doc
parent
3b31f456
Changes
1
Hide whitespace changes
Inline
Side-by-side
document/elk/elk.md
View file @
b74ae2b5
# 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
-
下载页面: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包并进行解压
...
...
@@ -12,10 +12,10 @@ Kibana:https://www.elastic.co/downloads/past-releases/kibana-4-6-0
## 运行
### logstash配置运行
添加logstash配置文件:logstash-springboot.conf
安装logstash-codec-json_lines插件:plugin install logstash-codec-json_lines
运行logstash命令:logstash -f logstash-springboot.conf
-
添加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
-
引入依赖包:https://github.com/logstash/logstash-logback-encoder
-
添加配置文件:logback-spring.xml
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment