fix: separate timestamp parsing from json_parser to resolve time parsing error

This commit is contained in:
Nicolas 2025-07-29 14:37:13 +08:00
parent afb02b4e0c
commit 5479b85968

View File

@ -53,10 +53,10 @@ spec:
- type: json_parser - type: json_parser
parse_from: body parse_from: body
parse_to: attributes parse_to: attributes
timestamp: - type: time_parser
parse_from: attributes.timestamp parse_from: attributes.timestamp
layout: UnixMilli layout: UnixMilli
location: UTC location: UTC
processors: processors:
resource: resource:
attributes: attributes: