diff options
Diffstat (limited to 'tools/monitoring/values.yaml')
-rw-r--r-- | tools/monitoring/values.yaml | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/tools/monitoring/values.yaml b/tools/monitoring/values.yaml index a19ba65..fb3c6d9 100644 --- a/tools/monitoring/values.yaml +++ b/tools/monitoring/values.yaml @@ -25,12 +25,12 @@ grafana: - name: Prometheus type: prometheus access: proxy - url: http://prometheus-server.monitoring.svc.cluster.local + url: http://prometheus-server isDefault: true - name: Elasticsearch type: elasticsearch access: proxy - url: http://elasticsearch-master.monitoring.svc.cluster.local:9200 + url: http://elasticsearch-master jsonData: esVersion: 7 timeField: "@timestamp" @@ -155,15 +155,6 @@ opentelemetry-collector: protocols: grpc: {} http: {} - filelog: - include: ["/var/log/containers/*.log"] - operators: - - type: json_parser - timestamp: - parse_from_field: time - layout: '%Y-%m-%dT%H:%M:%S.%fZ' - severity: - parse_from_field: severity processors: batch: {} resource: @@ -177,15 +168,36 @@ opentelemetry-collector: endpoint: "http://prometheus-server.monitoring.svc.cluster.local/api/v1/write" logging: loglevel: debug - otlphttp: - endpoint: "http://elasticsearch-master.monitoring.svc.cluster.local:9200" service: pipelines: metrics: receivers: [otlp] processors: [batch] exporters: [prometheusremotewrite] - logs: - receivers: [otlp, filelog] - processors: [batch, resource] - exporters: [logging, otlphttp] + +logstash: + enabled: true + volumeClaimTemplate: + accessModes: [ "ReadWriteOnce" ] + resources: + requests: + storage: 10Gi + logstashConfig: + logstash.yml: | + http.host: "0.0.0.0" + xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch-master:9200" ] + logstashPipeline: + logstash.conf: | + input { + tcp { + port => 5044 + codec => json + } + } + output { + elasticsearch { + hosts => ["http://elasticsearch-master:9200"] + index => "logstash-%{+YYYY.MM.dd}" + } + } + |