Fix timestamp parsing: use move operator to extract timestamp from attributes

This commit is contained in:
Nicolas 2025-07-29 17:54:25 +08:00
parent 12a7f1b98c
commit 7ae5966da1

View File

@ -53,7 +53,10 @@ spec:
- type: json_parser - type: json_parser
parse_from: body parse_from: body
parse_to: attributes parse_to: attributes
timestamp: - type: move
from: attributes.timestamp
to: timestamp
- type: timestamp
parse_from: timestamp parse_from: timestamp
layout: UnixMilli layout: UnixMilli
location: UTC location: UTC