diff options
author | makefunstuff <[email protected]> | 2024-06-28 20:06:06 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-28 20:06:06 +0200 |
commit | 392d2153859d583aefeb5d28c60f700c963f1892 (patch) | |
tree | 604f681a56138ae7d1f6e3ac7f92bea8dd68f4f6 | |
parent | b4e439dfc8b1d57938354c4a922a00a363755c42 (diff) | |
download | k3s-lab-392d2153859d583aefeb5d28c60f700c963f1892.tar.gz |
fix
Diffstat (limited to '')
-rw-r--r-- | tools/monitoring/values.yaml | 39 |
1 files changed, 20 insertions, 19 deletions
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}" } - + } |