Closed
Description
Component(s)
pkg/stanza
Is your feature request related to a problem? Please describe.
The change introduced in #30797 causes different behaviour when entries don't match is_first_entry
, please see this line.
The previous behaviour was convenient, user could have one pipeline for multiline logs and non-multiline logs, non-multiline were unchanged (with the consequences that in some circumstances multiline logs could be sent without recombiniation), now non-multiline logs are merged.
Describe the solution you'd like
Configurable behaviour of recombine operator when entries don't match is_first_entry
, possible options: merged
, unchanged
.
Describe alternatives you've considered
Two pipelines for logs collection, one for multiline logs, another for non-multiline logs but it will require some awareness about logs format and selection of the pipeline for log file.
Additional context
No response