How to send stdout logs for another container from fluentd container in pod

I am a newbie on this platform. I have deployment in Kubernetes pod which has two containers one is the application and one is fluentd. I can send logs from the file and stdout log from fluentd itself container. I have situations like I can’t write logs in file from app container and its logs coming in stdout. How can I send the read stdout logs of the app container? Can someone share any configuration like that it will really be helpful?


I am not sure that you will get answers here, there seems to be no real activity here.

Apart from that unfortunately I don’t even understand what you want to achieve (possibly language barrier). If you want to move log output from one container to the other you probably need a tcp connection between them with apps on both end, either fluent-bit or fluentd.