# Filebeat is taking too long to pick up new files

**URL:** <https://discuss.elastic.co/t/filebeat-is-taking-too-long-to-pick-up-new-files/117450>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 29, 2018, 12:26pm UTC](https://discuss.elastic.co/t/filebeat-is-taking-too-long-to-pick-up-new-files/117450 "2018-01-29T12:26:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shankar1](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@shankar1](https://discuss.elastic.co/u/shankar1)\
**Post date:** [January 29, 2018, 12:26pm UTC](https://discuss.elastic.co/t/filebeat-is-taking-too-long-to-pick-up-new-files/117450/1 "2018-01-29T12:26:14Z")

</div>

> **Problem :** Initially the time taken between posting a new file and picking up by the filebeat harvester was fast **(seconds)**. After a week I realized that filebeat speed of picking up got reduced **(minutes / hours)** and few files got ignored in this process because of " **ignore\_older**". _ **Please suggest what are the other options to be added in filebeat config** _. Currency registry size is only increasing.

**Filebeat version : Filebeat (5.5.0)**  
**Data Flow :** Filebeat to Logstash. File needs to be read only once and there is no file rotation.

```
filebeat.prospectors:
-input_type: log
-D:\prod\*\*.log
-ignore_older: 48h
-clean_inactive: 70h
-scan_frequency: 20s
-close_eof: true

```

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [January 30, 2018, 2:16pm UTC](https://discuss.elastic.co/t/filebeat-is-taking-too-long-to-pick-up-new-files/117450/2 "2018-01-30T14:16:05Z")

</div>

Can you share your complete filebeat configuration?

Are files rotated?

How do you determine when filebeat is picking up files?

---

<div class="post-metadata">

**Author:** ![shankar1](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@shankar1](https://discuss.elastic.co/u/shankar1)\
**Post date:** [January 31, 2018, 6:08am UTC](https://discuss.elastic.co/t/filebeat-is-taking-too-long-to-pick-up-new-files/117450/3 "2018-01-31T06:08:55Z")

</div>

1. 

> filebeat.prospectors:  
> -input\_type: log  
> -D:\prod\date-\*\*.log  
> -ignore\_older: 48h  
> -clean\_inactive: 70h  
> -scan\_frequency: 20s  
> -close\_eof: true  
> hosts: ["10.1\*\*.1\*\*.1\*\*:5045","10.1\*\*.1\*\*.1\*\*:5045","10.1\*\*.1\*\*.1\*\*:5045"]  
> loadbalance: true

1. 

> No File rotation

1. 

> Filebeat registry file and printing log on CMD

---

<div class="post-metadata">

**Author:** ![shankar1](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@shankar1](https://discuss.elastic.co/u/shankar1)\
**Post date:** [January 31, 2018, 6:32am UTC](https://discuss.elastic.co/t/filebeat-is-taking-too-long-to-pick-up-new-files/117450/4 "2018-01-31T06:32:40Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/6/3/63440b777a0a1d9a7b94e7f56c765349278cfbb5.png)

When I restart "Flushing Spooler timeout" goes on for a long time.

---

<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:** [February 28, 2018, 6:33am UTC](https://discuss.elastic.co/t/filebeat-is-taking-too-long-to-pick-up-new-files/117450/5 "2018-02-28T06:33:10Z")

</div>

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