From e5d04f2bcf7548995fd829aefe76cca619462d78 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Thu, 8 Jan 2026 22:40:02 -0300 Subject: [PATCH] logging: fix loki config and fluent-bit output --- services/logging/fluent-bit-helmrelease.yaml | 12 ++++++------ services/logging/loki-helmrelease.yaml | 10 +++++++++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/services/logging/fluent-bit-helmrelease.yaml b/services/logging/fluent-bit-helmrelease.yaml index 7e0614d..e257d9a 100644 --- a/services/logging/fluent-bit-helmrelease.yaml +++ b/services/logging/fluent-bit-helmrelease.yaml @@ -85,15 +85,15 @@ spec: Match kube.* Host loki.logging.svc.cluster.local Port 3100 - Labels {job="fluent-bit", namespace="$kubernetes['namespace_name']", pod="$kubernetes['pod_name']", container="$kubernetes['container_name']"} - LabelKeys stream - Line_Format json + labels {job="fluent-bit", namespace="$kubernetes['namespace_name']", pod="$kubernetes['pod_name']", container="$kubernetes['container_name']"} + label_keys stream + line_format json [OUTPUT] Name loki Match journald.* Host loki.logging.svc.cluster.local Port 3100 - Labels {job="systemd"} - LabelKeys _SYSTEMD_UNIT,_HOSTNAME,SYSLOG_IDENTIFIER - Line_Format json + labels {job="systemd"} + label_keys _SYSTEMD_UNIT,_HOSTNAME,SYSLOG_IDENTIFIER + line_format json diff --git a/services/logging/loki-helmrelease.yaml b/services/logging/loki-helmrelease.yaml index eb0298b..e2a1235 100644 --- a/services/logging/loki-helmrelease.yaml +++ b/services/logging/loki-helmrelease.yaml @@ -31,7 +31,7 @@ spec: cache_location: /var/loki/index_cache schemaConfig: configs: - - from: 2024-01-01 + - from: "2024-01-01" store: tsdb object_store: filesystem schema: v13 @@ -59,6 +59,14 @@ spec: enabled: true size: 200Gi storageClass: asteria + gateway: + enabled: false + chunksCache: + enabled: false + resultsCache: + enabled: false + lokiCanary: + enabled: false service: type: ClusterIP ingress: