mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-05-05 19:41:26 +08:00
add 完成 ELK 整合
This commit is contained in:
1
docker/elk/elasticsearch/data/README.md
Normal file
1
docker/elk/elasticsearch/data/README.md
Normal file
@@ -0,0 +1 @@
|
||||
ES 数据目录 请执行 `chmod 777 /docker/elk/elasticsearch/data` 赋予读写权限 否则 ES 将无法写入数据
|
||||
1
docker/elk/elasticsearch/plugins/README.md
Normal file
1
docker/elk/elasticsearch/plugins/README.md
Normal file
@@ -0,0 +1 @@
|
||||
ES 插件目录 扩展插件可以放入此目录下
|
||||
14
docker/elk/logstash/logstash.conf
Normal file
14
docker/elk/logstash/logstash.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
input {
|
||||
tcp {
|
||||
mode => "server"
|
||||
host => "0.0.0.0"
|
||||
port => 4560
|
||||
codec => json_lines
|
||||
}
|
||||
}
|
||||
output {
|
||||
elasticsearch {
|
||||
hosts => "127.0.0.1:9200"
|
||||
index => "%{[spring.application.name]}-%{+YYYY.MM.dd}"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user