# Filebeat never releases unupdated logfiles

**URL:** <https://discuss.elastic.co/t/filebeat-never-releases-unupdated-logfiles/102673>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 4, 2017, 9:50am UTC](https://discuss.elastic.co/t/filebeat-never-releases-unupdated-logfiles/102673 "2017-10-04T09:50:14Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![voudas75](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/voudas75/32/22868_2.png) [@voudas75](https://discuss.elastic.co/u/voudas75)\
**Post date:** [October 9, 2017, 2:25pm UTC](https://discuss.elastic.co/t/filebeat-never-releases-unupdated-logfiles/102673/9 "2017-10-09T14:25:43Z")

</div>

Thanks for your immediate response .

Configuration :

```
output.logstash:
# The Logstash hosts
hosts: ["xx.yyy:zzz.141:5702","xx.yyy:zzz.142:5702"]
loadbalance: true 

```

Pipelining is not enabled .

No respective errors exist on LogStash Log FIles concerning same timestamp with Filebeat Log Messages.  
Similar errors exist , but on different time frames.

* * *

Can you suggest an appropriate configuration for Logstash ?  
2 Logstash instances running on 2 servers .  
Should we increase client\_inactivity\_timeout as mentioned on respective issue ?

> [@\[Solved\] Filebeat -\> Logstash : connection reset by peer](https://discuss.elastic.co/t/solved-filebeat-logstash-connection-reset-by-peer/87012):
>
> Hi there ! I'm testing a pipe like that for dumping my logs : filebeat -\> logstash -\> elasticsearch and I have strange errors from filebeat : 2017-05-24T18:08:51+02:00 DBG Try to publish 2 events to logstash with window size 105 2017-05-24T18:08:51+02:00 DBG handle error: read tcp 172.17.1.5:45543-\>172.17.105.2:5044: read: connection reset by peer 2017-05-24T18:08:51+02:00 DBG 0 events out of 2 events sent to logstash. Continue sending 2017-05-24T18:08:51+02:00 DBG close connection 2017-05…

One related question :  
Is there a safe "dummy" configuration to use in order to confirm that we do not have any issue on close\_\* parameters / OS etc. and issue is focused on LS config/output ? ( e.g using file output )

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-never-releases-unupdated-logfiles/102673)._
