Kubernetes and Docker share the same issue of collecting their own log which could cause a positive feedback loop of logs. Currently both are using different ways of detecting vector logs. The way we are currently doing it in Kubernetes was exposed to have a hole #2171.
We could potentially solve this problem for both sources by implementing a recursion detection based on logs. We would log a unique string of characters with println!, and once we detect a log with the same string of characters from a container, we would start filtering out it's logs.
Ref #2188.
Kubernetes and Docker share the same issue of collecting their own log which could cause a positive feedback loop of logs. Currently both are using different ways of detecting vector logs. The way we are currently doing it in Kubernetes was exposed to have a hole #2171.
We could potentially solve this problem for both sources by implementing a recursion detection based on logs. We would log a unique string of characters with
println!, and once we detect a log with the same string of characters from a container, we would start filtering out it's logs.Ref #2188.