mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-03 03:27:27 +01:00
update elk
This commit is contained in:
@@ -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
6
elk/data/pipelines.yml
Normal 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"
|
||||
@@ -9,9 +9,12 @@ input {
|
||||
|
||||
output {
|
||||
stdout {
|
||||
codec => rubydebug
|
||||
codec => rubydebug {
|
||||
metadata => true
|
||||
}
|
||||
}
|
||||
elasticsearch {
|
||||
hosts => [ "elasticsearch:9200" ]
|
||||
ilm_enabled => false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user