# Excessive Disk usage - Filebeat

**URL:** https://discuss.elastic.co/t/excessive-disk-usage-filebeat/207325
**Category:** Beats
**Tags:** filebeat
**Created:** [November 11, 2019, 10:11am UTC](https://discuss.elastic.co/t/excessive-disk-usage-filebeat/207325 "2019-11-11T10:11:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![irobot678](https://avatars.discourse-cdn.com/v4/letter/i/54ee81/32.png) [@irobot678](https://discuss.elastic.co/u/irobot678)
#### Post date: [November 11, 2019, 10:11am UTC](https://discuss.elastic.co/t/excessive-disk-usage-filebeat/207325/1 "2019-11-11T10:11:56Z")

</div>

Hi,

i'm using elk stack of version 5.5 without x-pack.

My disk is getting filled even though my file is deleted , filebeat still has the file handler open, the file disappears but still takes up space on my disk.

so i decided use the following properties  
" **close\_inactive**" or " **ignore\_older**"  
and i'm confused to which one to choose

what i exactly want :

if a file is inactive for 1 day  
i want to close that file  
if there is new log enters to that file  
will filebeat reopen that file ?

so please help me understand which property is suitable for my usecase.

---

<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: [December 9, 2019, 10:12am UTC](https://discuss.elastic.co/t/excessive-disk-usage-filebeat/207325/2 "2019-12-09T10:12:04Z")

</div>

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