There are quite a few topics related to this on discuss: https://discuss.elastic.co/search?q=connection%20reset%20by%20peer Did you guys check the solutions there?
What did you try so far and didn't work? Please share your Filebeat version, Logstash + Logstash beats input version and how you your setup looks like.