Merge pull request 'Fix timestamp parsing: use move operator to extract timestamp from attributes' (#26) from Nicolas_local_ops into master

Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/26
This commit is contained in:
Nicolas 2025-07-29 09:54:58 +00:00
commit 770463bca5

View File

@ -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: