Why Fluentd-elasticsearch cannot send logs to elasticsearch?

1.1k Views Asked by At

I have deployed EFK stack on Kubernetes and I get following error messages and looks like Fluentd cannot communicate with elasticsearch.

[warn]: [elasticsearch] Could not communicate to Elasticsearch, resetting connection and trying again. getaddrinfo: Temporary failure in name resolution (SocketError)

[warn]: [elasticsearch] Remaining retry: 11. Retry to communicate after 16 second(s)

Deploying different Helm charts makes any difference!!? Deployed kiwigrid/fluentd-elasticsearch for Fluentd and bitnami/elasticsearch for elasticsearch and stable/kibana for Kibana. However, Ping or SSH to fluentd is possible from my external Linux machine. EFK stack runs inside same namespace. Rancher tool monitors whole cluster therefore I see my Fluentd logs. Loadbalancer IP for Kibana and Elasticsearch is set. Able to see Kibana UI page.

elasticsearch-elasticsearch-master-1    1/1     Running   0   24h
fluentd-elasticsearch-4q6cx             1/1     Running   3   47m

Anybody who can support in this problem? pretty new to K8s.

0

There are 0 best solutions below