# Filebeat is not closig the file descriptor, when the file is deleted/renamed

**URL:** https://discuss.elastic.co/t/filebeat-is-not-closig-the-file-descriptor-when-the-file-is-deleted-renamed/115819
**Category:** Beats
**Tags:** filebeat
**Created:** [January 17, 2018, 4:00am UTC](https://discuss.elastic.co/t/filebeat-is-not-closig-the-file-descriptor-when-the-file-is-deleted-renamed/115819 "2018-01-17T04:00:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)
#### Post date: [January 17, 2018, 10:24am UTC](https://discuss.elastic.co/t/filebeat-is-not-closig-the-file-descriptor-when-the-file-is-deleted-renamed/115819/2 "2018-01-17T10:24:14Z")

</div>

Hi @swethamahesh,

Could you share the logs of filebeat for the period where you do the file renaming? Please run it with these parameters: `-d prospector -v`

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-is-not-closig-the-file-descriptor-when-the-file-is-deleted-renamed/115819)._
