Hi there we are facing an issue when running our apps inside Amazon ECS. We are trying to log to Fluentd but when we fire up our docker containers the first time we need to restart them to get logging working. Anyone also experiencing this issue?
Our application setup is as follows:
Multiple Apps (in docker) -> Fluentd (in docker)
So when we fire up the infrastructure we need to restart the Apps to get logging working. My guess it that this depends on the startup sequence of the docker containers. But in ECS we have no control on the startup order. Our application have the following setup for the log drivers:
"logConfiguration": {
"logDriver": "fluentd",
"options": {
"fluentd-address": "fluentd url...",
"fluentd-async-connect" : "true",
"tag": "plain.docker.runtime"
}
},Any clue what we are missing to get logging working right from the start?
tcp 1 0 ip-xxxxx.ec2.i:50882 ip-10-64-48-230.ec2.i:24224 CLOSE_WAIT
--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
So it looks like deleting and redeploying the fluentd container gets logs going again (although that means the missing logs are gone).
If this has to do with the buffer_chunk_limit, how do i figure out my HTTP request payload maximum if I'm using my own ES cluster?
resurrect_after 5sreload_connections false