Open alphajc opened 6 years ago
Hi - Did you get to the bottom of this?
Any error displayed?.. I tried today it worked perfectly. I assume you may want to ship the container logs to a elasticsearch in a different vm instead of shiping the logs to the elasticsearch as a container in the same host as docker-compose do. In that case there may be version of elasticsearch cause the issue. I got into this kind of issue, after 3 hrs of investigation found version caused the problem.!! :(
I have encountered the same issue. This is because that fluentd is not able to send logs to elasticsearch due to no authentication. Add User and Password in fluentd/conf/fluent.conf as below.
<match *.**> @type copy
@kiranp227 , i tried adding the user /password as you suggested and also added index_name fluentd in the fluentd.conf , but i am unable to see and any indices discovered in the index management - the message is "Couldn't find any Elasticsearch data" , any clues what i might be missing, appreciate if you could help here. thanks
Recently, I deployed a
docker-compose-efk
environment. At the beginning it could work normally, but thefluentd
could not send logs to theelasticsearch
next day. After I restart thefluentd
container, it was normal. Unfortunately, It was wrong yet next day. I cannot find the reason. Who can help me?