Hello! I've configured filebeat to output the logs to logstash by hostname.
output:
logstash:
hosts: ["logstash:5044"]
Internally it seems to resolve the hostname to its IP.
2017/11/06 14:45:18.882832 output.go:92: ERR Failed to publish events: write tcp 172.27.0.5:46906->172.27.0.4:5044: write: connection reset by peer
I don't want this to happen because of the Docker built in load balancing. Any ideas?