<p>I have no idea how to do this. Any help would be great.</p>
<p>I'm running a pod on Fargate that holds my application container and a fluentd container. How can I send my logs from my application container to my fluentd container to push to splunk? I cannot set my log driver or log options (the normal way I would configure my container to change it's log destination) in my kubernetes deployment definition.</p>
<p>So how am I suppose to accomplish this, has anyone actually done this?</p>

wesleywh
<p>The way it works today is by making sure you are logging to a file and then add a Fluentxxx sidecar to the pod so that it can grab the log and send it to a destination. This is because there is no way (other than using interactively <code>kubectl logs</code> ) to grab logs printed to stdout (yet).</p>
<p>However we are working on <a href="https://github.com/aws/containers-roadmap/issues/701" rel="nofollow noreferrer">this feature</a> that will allow EKS/Fargate customers to 1) not bother about using a sidecar and 2) grab stdout logs out of the box.</p>
<p>The idea is that you will only need to specify a per cluster / per ns / per pod logging configuration and we will send the logs to supported (popular) destinations.</p>
