Skip to content

Log recursion detection feature #2218

Description

@ktff

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.

Metadata

Metadata

Assignees

Labels

domain: sourcesAnything related to the Vector's sourcestype: tech debtA code change that does not add user value.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions