-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Milestone
Description
Logs are today assumed to be UTF text, which is split into records using some delimiter pattern. In some cases it is useful to treat the logs files simply as byte streams with unspecified encoding. It would be useful to have this capability added.
To enable it we need the following:
- Support binary data type (byte slice). It needs to be added to OTLP as one of the data types for AnyValue.
- For
filelog
whenencoding=nop
populate theBody
with binary data type instead of string data type (which according to OTLP's Protobuf requirements is limited to valid UTF-8 strings. - Allow disabling splitting of log entires (via
multiline
setting?). Split into chunks by honouringmax_log_size
setting to limit the size of each individual record. - Optionally: store the starting position of the chunk in the stream so that the stream can be reconstructed correctly if log records are delivered to the final destination out of order.
maxgolov
Metadata
Metadata
Assignees
Labels
No labels