Fix timestamp parsing: use move operator to extract timestamp from attributes
This commit is contained in:
parent
12a7f1b98c
commit
7ae5966da1
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user