-
Notifications
You must be signed in to change notification settings - Fork 43
filelog: Multiline merging mixes up logs from different files #276
Comments
Do both containers log to the same file? Can you provide input and output samples? |
sorry for late reply. it is logging to a separate files. I can't reproduce it so i think it was a misconfiguration. Thank you. |
reopening this. similar issue is reported. signalfx/splunk-otel-collector-chart#309 |
updating issue name and description with more information i found. |
I think in the I think we need to make it into a map. |
@djaglowski Any suggestions? |
To summarize my understanding of the problem and proposed solution: The problem is that the recombine operator only works for "partial" entries coming from a single log source (e.g. a single file). The general solution is to make the operator "source-aware", so that it can keep partial entries separate from each other based on the log source. The general idea is then is to have what I would tentatively describe as a "log source identifier". This is used to properly group partial entries together. I think this all makes sense. A couple things we need to consider:
|
Thanks for putting your thoughts into it. I can take a stab at it if no one yet started. |
this works fine.
because
loggen
container andloggen2
container is separately routed to its ownrecombine
operator.but with configurations like this one
they get mixed up
The text was updated successfully, but these errors were encountered: