From 392d2153859d583aefeb5d28c60f700c963f1892 Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Fri, 28 Jun 2024 21:06:06 +0300 Subject: fix --- tools/monitoring/values.yaml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'tools/monitoring') diff --git a/tools/monitoring/values.yaml b/tools/monitoring/values.yaml index 450f60d..d1dbe95 100644 --- a/tools/monitoring/values.yaml +++ b/tools/monitoring/values.yaml @@ -204,27 +204,28 @@ opentelemetry-collector: logstash: enabled: true - volumeClaimTemplate: - accessModes: [ "ReadWriteOnce" ] - resources: - requests: - storage: 10Gi - logstashConfig: + image: "docker.elastic.co/logstash/logstash:7.17.3" + resources: + requests: + cpu: "500m" + memory: "2Gi" + limits: + cpu: "1" + memory: "4Gi" + config: logstash.yml: | http.host: "0.0.0.0" + xpack.monitoring.enabled: true xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch-master:9200" ] - logstashPipeline: - logstash.conf: | - input { - tcp { - port => 5044 - codec => json - } + logstash.conf: | + input { + beats { + port => 5044 } - output { - elasticsearch { - hosts => ["http://elasticsearch-master:9200"] - index => "logstash-%{+YYYY.MM.dd}" - } + } + output { + elasticsearch { + hosts => ["http://elasticsearch-master:9200"] + index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}" } - + } -- cgit 1.4.1-2-gfad0