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:
commit
770463bca5
@ -53,10 +53,13 @@ spec:
|
|||||||
- type: json_parser
|
- type: json_parser
|
||||||
parse_from: body
|
parse_from: body
|
||||||
parse_to: attributes
|
parse_to: attributes
|
||||||
timestamp:
|
- type: move
|
||||||
parse_from: timestamp
|
from: attributes.timestamp
|
||||||
layout: UnixMilli
|
to: timestamp
|
||||||
location: UTC
|
- type: timestamp
|
||||||
|
parse_from: timestamp
|
||||||
|
layout: UnixMilli
|
||||||
|
location: UTC
|
||||||
processors:
|
processors:
|
||||||
resource:
|
resource:
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user