From 5ced605a20c36964c115bd1bf3b5417182ad836f Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Jul 2025 10:15:39 +0800 Subject: [PATCH] fix: improve OpenTelemetry Collector JSON parsing for central storage logs --- .../templates/central-storage/opentelemetry.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index ba1bcf9b..763594a9 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -53,6 +53,9 @@ spec: - type: json_parser parse_from: body parse_to: attributes + timestamp: + parse_from: attributes.timestamp + layout: UnixMilli processors: resource: attributes: