From 7ae5966da19ba6f087923de9b407c68ac1f59274 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Jul 2025 17:54:25 +0800 Subject: [PATCH] Fix timestamp parsing: use move operator to extract timestamp from attributes --- .../templates/central-storage/opentelemetry.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index bb9526d8..b7461a7d 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -53,10 +53,13 @@ spec: - type: json_parser parse_from: body parse_to: attributes - timestamp: - parse_from: timestamp - layout: UnixMilli - location: UTC + - type: move + from: attributes.timestamp + to: timestamp + - type: timestamp + parse_from: timestamp + layout: UnixMilli + location: UTC processors: resource: attributes: