diff --git a/otel/otel-collector-config-clickhouse-prod.yaml b/otel/otel-collector-config-clickhouse-prod.yaml index 64ea87d7..b9ca8282 100644 --- a/otel/otel-collector-config-clickhouse-prod.yaml +++ b/otel/otel-collector-config-clickhouse-prod.yaml @@ -10,30 +10,6 @@ receivers: - /root/.letta/logs/Letta.log multiline: line_start_pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3} - operators: - # Extract timestamp and other fields - - type: regex_parser - regex: '^(?P\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3})\s+-\s+(?P[\w\.-]+)\s+-\s+(?P\w+)\s+-\s+(?P.*)$' - # Parse the timestamp - - type: time_parser - parse_from: attributes.timestamp - layout: '%Y-%m-%d %H:%M:%S,%L' - # Set severity - - type: severity_parser - parse_from: attributes.severity - mapping: - debug: DEBUG - info: INFO - warning: WARN - error: ERROR - critical: FATAL - # Add resource attributes - - type: add - field: resource.service_name - value: letta-server - - type: add - field: resource.environment - value: ${ENV_NAME} processors: batch: