fix: on error send (#5851)

on error send
This commit is contained in:
Kian Jones
2025-10-30 11:14:33 -07:00
committed by Caren Thomas
parent 0c454d6eaf
commit ff5f8d9a85
2 changed files with 6 additions and 2 deletions

View File

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

View File

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