Initial project source
这个提交包含在:
@@ -0,0 +1 @@
|
||||
数据目录 请执行 `chmod 777 /docker/elk/elasticsearch/data` 赋予读写权限 否则将无法写入数据
|
||||
@@ -0,0 +1 @@
|
||||
日志目录 请执行 `chmod 777 /docker/elk/elasticsearch/logs` 赋予读写权限 否则将无法写入数据
|
||||
@@ -0,0 +1,10 @@
|
||||
# Elasticsearch plugins
|
||||
|
||||
Elasticsearch plugins must match the exact Elasticsearch version.
|
||||
|
||||
The Docker Compose file mounts `/docker/elk/elasticsearch/plugins`
|
||||
for Elasticsearch 8.19.16. Do not reuse a 7.x plugin directory with 8.x,
|
||||
otherwise Elasticsearch will fail during startup.
|
||||
|
||||
If IK analysis is required, install an IK package built for Elasticsearch
|
||||
8.19.16 into that host directory.
|
||||
@@ -0,0 +1,4 @@
|
||||
server.host: "0.0.0.0"
|
||||
server.shutdownTimeout: "5s"
|
||||
elasticsearch.hosts: [ "http://127.0.0.1:9200" ]
|
||||
monitoring.ui.container.elasticsearch.enabled: true
|
||||
@@ -0,0 +1,2 @@
|
||||
http.host: "0.0.0.0"
|
||||
xpack.monitoring.elasticsearch.hosts: [ "http://127.0.0.1:9200" ]
|
||||
@@ -0,0 +1,14 @@
|
||||
input {
|
||||
tcp {
|
||||
mode => "server"
|
||||
host => "0.0.0.0"
|
||||
port => 4560
|
||||
codec => json_lines
|
||||
}
|
||||
}
|
||||
output {
|
||||
elasticsearch {
|
||||
hosts => [ "http://127.0.0.1:9200" ]
|
||||
index => "%{[spring.application.name]}-%{+YYYY.MM.dd}"
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户