# Failed to publish events caused by: i/o timeout while sending logs to logstash

**URL:** <https://discuss.elastic.co/t/failed-to-publish-events-caused-by-i-o-timeout-while-sending-logs-to-logstash/218885>\
**Category:** Logstash\
**Created:** [February 12, 2020, 3:12am UTC](https://discuss.elastic.co/t/failed-to-publish-events-caused-by-i-o-timeout-while-sending-logs-to-logstash/218885 "2020-02-12T03:12:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhang\_you](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhang_you/32/58273_2.png) [@zhang\_you](https://discuss.elastic.co/u/zhang_you)\
**Post date:** [February 12, 2020, 3:12am UTC](https://discuss.elastic.co/t/failed-to-publish-events-caused-by-i-o-timeout-while-sending-logs-to-logstash/218885/1 "2020-02-12T03:12:05Z")

</div>

my filebeat and logstash are both version 7.5.2. my filebeat.yml is ![fe](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f9fbfb105245088ef561b83a462054b15350fbd6.png) and my logstash.conf is ![lo](https://us1.discourse-cdn.com/elastic/original/3X/f/b/fb25dafd9e42c0b6f1ef8353df9f8a2f705894a1.png) .and other config file are default.When i run this,the error is "Failed to publish events caused by: read tcp 127.0.0.1:64356-\>127.0.0.1:5044: i/o timeout ".

 ![er](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f4016f18f2038f66ca26b681405a1f78daca195.png) .And this leads to filebeat send many Duplicate logs to logstash.  
I would appreciate it if some help me.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 11, 2020, 3:12am UTC](https://discuss.elastic.co/t/failed-to-publish-events-caused-by-i-o-timeout-while-sending-logs-to-logstash/218885/2 "2020-03-11T03:12:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
