From 4d504c3cc22a255d7599399e3ac7ee11804dd2e2 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 22 Sep 2023 17:39:51 +0800 Subject: [PATCH] rename logstash --- dev-upgrade/elastic/logstash.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-upgrade/elastic/logstash.yml b/dev-upgrade/elastic/logstash.yml index 7151d81..2c97ec4 100644 --- a/dev-upgrade/elastic/logstash.yml +++ b/dev-upgrade/elastic/logstash.yml @@ -25,7 +25,9 @@ data: index => "dev-logback-beaconfire-%{+YYYY.MM.dd}" } } - + logstash.yml: |- + http.host: "0.0.0.0" + xpack.monitoring.elasticsearch.hosts: [ "http://elastic:9200" ] --- apiVersion: apps/v1 @@ -61,6 +63,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: @@ -68,6 +74,8 @@ spec: items: - key: logstash.conf path: logstash.conf + - key: logstash.yml + path: logstash.yml --- apiVersion: v1