CockroachDB does not have a character limit on emitted log lines which prevents logging sinks like Fluent Bit from receiving the entire log line as a single event.
Here's one such long log event, redacted where the majority of the characters occur.
This was observed on a staging CockroachDB Cloud cluster (0aca882a-4a60-4b86-8b19-dae7a612d826).
Expected behavior
CockroachDB should impose a limit on the number of character a given log line can be, preferring to split a single log event across multiple events instead.
Additional data / screenshots
N/A
Environment:
CockroachDB version v24.1.1
Server OS: Red Hat Enterprise Linux 9.4 (Plow), kernel 5.15.146+
Additional context
What was the impact?
The Fluent Bit sink CockroachDB was configured to send logs to was unable to receive logs over TCP, preventing logs from being sent to a centralized system.
Describe the problem
CockroachDB does not have a character limit on emitted log lines which prevents logging sinks like Fluent Bit from receiving the entire log line as a single event.
Here's one such long log event, redacted where the majority of the characters occur.
This log event was 206584 bytes in size due to the large
event.PlaceholderValues
values.To Reproduce
This was observed on a staging CockroachDB Cloud cluster (
0aca882a-4a60-4b86-8b19-dae7a612d826
).Expected behavior
CockroachDB should impose a limit on the number of character a given log line can be, preferring to split a single log event across multiple events instead.
Additional data / screenshots
N/A
Environment:
Additional context
What was the impact?
The Fluent Bit sink CockroachDB was configured to send logs to was unable to receive logs over TCP, preventing logs from being sent to a centralized system.
Jira issue: CRDB-39806