diff --git a/dev-upgrade/elastic/logstash-alert.yaml b/dev-upgrade/elastic/logstash-alert.yaml index 249b0ee..326a0e3 100644 --- a/dev-upgrade/elastic/logstash-alert.yaml +++ b/dev-upgrade/elastic/logstash-alert.yaml @@ -79,6 +79,9 @@ data: } } } + logstash.yml: |- + http.host: "0.0.0.0" + xpack.monitoring.elasticsearch.hosts: [ "http://elastic:9200" ] --- apiVersion: apps/v1 @@ -117,6 +120,10 @@ spec: mountPath: /usr/share/logstash/pipeline/logstash.conf subPath: logstash.conf readOnly: true + - name: config + mountPath: /usr/share/logstash/config/logstash.yml + subPath: logstash.yml + readOnly: true volumes: - name: config configMap: @@ -124,6 +131,8 @@ spec: items: - key: logstash.conf path: logstash.conf + - key: logstash.yml + path: logstash.yml --- apiVersion: v1