# Filebeat locking the file

**URL:** <https://discuss.elastic.co/t/filebeat-locking-the-file/87514>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 30, 2017, 7:34am UTC](https://discuss.elastic.co/t/filebeat-locking-the-file/87514 "2017-05-30T07:34:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arya](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@arya](https://discuss.elastic.co/u/arya)\
**Post date:** [May 30, 2017, 7:34am UTC](https://discuss.elastic.co/t/filebeat-locking-the-file/87514/1 "2017-05-30T07:34:05Z")

</div>

Hi ,

Will filebeat locks the files if logstash is down in the receiving end? I couldn't telnet from my filebeat server to logstash.  
I restarted logstash service and getting the below error even after logstash is up(telnet working)

```
2017-05-30T08:41:13+02:00 ERR SSL client failed to connect with: read tcp 10.x.x.x:xxxx->10.x.x.x:14012: i/o timeout

```

Regards,  
Arya

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [May 30, 2017, 8:56am UTC](https://discuss.elastic.co/t/filebeat-locking-the-file/87514/2 "2017-05-30T08:56:38Z")

</div>

I think this was solved in: [Filebeat holding deleted files which consumes disk space](https://discuss.elastic.co/t/filebeat-holding-deleted-files-which-consumes-disk-space/87415/6)

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [May 30, 2017, 2:14pm UTC](https://discuss.elastic.co/t/filebeat-locking-the-file/87514/3 "2017-05-30T14:14:18Z")

</div>

but if it's a `close_timeout` missing usage, it's possible also to lose data

---

<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:** [June 27, 2017, 2:14pm UTC](https://discuss.elastic.co/t/filebeat-locking-the-file/87514/4 "2017-06-27T14:14:49Z")

</div>

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