fluent / fluentd

Fluentd: Unified Logging Layer (project under CNCF)
https://www.fluentd.org
Apache License 2.0
12.82k stars 1.34k forks source link

Forward logs from pod to kafka via fluentd #4376

Closed anamhn closed 2 weeks ago

anamhn commented 8 months ago

Is your feature request related to a problem? Please describe.

I am trying to export the logs of a pod in Kafka, using fluentd operator and ClusterFlow configuration. What I mean by that is that I want to collect some logs from an app and export them in json format to Kafka, but my app knows to generate logs in json format only if they are sent to a tcp socket. I searched for some examples on how to do that using tcp plugin and also inputs section, but with no luck. Also, I haven't seen a solution or an example for my use case. Are you willing to offer support on the matter?

Describe the solution you'd like

-

Describe alternatives you've considered

-

Additional context

No response

kenhys commented 1 month ago

Maybe it is suitable to ask it here.

https://github.com/fluent/fluent-operator/issues

github-actions[bot] commented 3 weeks ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 7 days

github-actions[bot] commented 2 weeks ago

This issue was automatically closed because of stale in 7 days