@@ -9,14 +9,16 @@ receivers:
|
||||
include:
|
||||
- /root/.letta/logs/Letta.log
|
||||
operators:
|
||||
# Parse JSON logs
|
||||
# Parse JSON logs (skip non-JSON lines)
|
||||
- type: json_parser
|
||||
parse_from: body
|
||||
parse_to: attributes
|
||||
on_error: send
|
||||
- type: time_parser
|
||||
parse_from: attributes.timestamp
|
||||
layout_type: gotime
|
||||
layout: '2006-01-02T15:04:05.999999Z07:00'
|
||||
on_error: send
|
||||
|
||||
processors:
|
||||
memory_limiter:
|
||||
|
||||
@@ -9,14 +9,16 @@ receivers:
|
||||
include:
|
||||
- /root/.letta/logs/Letta.log
|
||||
operators:
|
||||
# Parse JSON logs
|
||||
# Parse JSON logs (skip non-JSON lines)
|
||||
- type: json_parser
|
||||
parse_from: body
|
||||
parse_to: attributes
|
||||
on_error: send
|
||||
- type: time_parser
|
||||
parse_from: attributes.timestamp
|
||||
layout_type: gotime
|
||||
layout: '2006-01-02T15:04:05.999999Z07:00'
|
||||
on_error: send
|
||||
|
||||
processors:
|
||||
memory_limiter:
|
||||
|
||||
Reference in New Issue
Block a user