2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 03:27:27 +01:00

update elk

This commit is contained in:
kev
2019-11-05 02:09:26 +08:00
parent 450682e0e0
commit b53f52efbb
5 changed files with 40 additions and 24 deletions

View File

@@ -1,7 +0,0 @@
http.host: "0.0.0.0"
path.config: /usr/share/logstash/pipeline
#xpack.monitoring.enabled: true
#xpack.monitoring.elasticsearch.hosts:
#- http://elasticsearch:9200
#xpack.monitoring.elasticsearch.username: logstash_system
#xpack.monitoring.elasticsearch.password: changeme

6
elk/data/pipelines.yml Normal file
View File

@@ -0,0 +1,6 @@
#
# https://www.elastic.co/guide/en/logstash/current/multiple-pipelines.html
#
- pipeline.id: main
path.config: "/usr/share/logstash/pipelines/main"

View File

@@ -9,9 +9,12 @@ input {
output {
stdout {
codec => rubydebug
codec => rubydebug {
metadata => true
}
}
elasticsearch {
hosts => [ "elasticsearch:9200" ]
ilm_enabled => false
}
}