Source: fluent, allow sending events to unix socket #17132
Labels
source: fluent
Anything `fluent` source related
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
We are activelly using Vector as a replacement for FluentD in our ECS Fargate. We successfully utilize logging libraries in our code that are wrapping events via forward protocol and sending them to tcp endpoint in Vector.
But now we are looking towards using Vector sidecar as ECS Firelens container to receive console logs from main containers via fluent logging driver. Unfortunately, sending logs to Firelens container is available only via Unix socket which Vector is currently is not able to do.
Attempted Solutions
We tried using socket source but this is not the case, since data sent in Fluent format.
Current workaround we achieved is to use splunk logging driver and splunk hec source. That is working, but we lack some addtitional info that ECS provides for log events sent through Firelens.
Proposal
Extend fluent source so it could receive data not only through adress (e.g. localhost:24224) but also via UNIX socket (e.g.
/var/run/fluent.sock
).References
No response
Version
0.28.2
The text was updated successfully, but these errors were encountered: