From acd5379c271b8b1514cb17049eb283f72f03ca28 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Jul 2025 15:40:26 +0800 Subject: [PATCH] fix: restore json_parser with timestamp parsing based on local testing --- .../templates/central-storage/opentelemetry.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index 491fcb02..cc6db0a0 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -49,7 +49,14 @@ spec: start_at: end include_file_path: false include_file_name: false - operators: [] + operators: + - type: json_parser + parse_from: body + parse_to: attributes + timestamp: + parse_from: attributes.timestamp + layout: UnixMilli + location: UTC processors: resource: attributes: