# Filebeat is skipping some older files and starts to send new ones

**URL:** https://discuss.elastic.co/t/filebeat-is-skipping-some-older-files-and-starts-to-send-new-ones/358915
**Category:** Elasticsearch
**Created:** [May 7, 2024, 11:31am UTC](https://discuss.elastic.co/t/filebeat-is-skipping-some-older-files-and-starts-to-send-new-ones/358915 "2024-05-07T11:31:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![elk1985](https://avatars.discourse-cdn.com/v4/letter/e/58956e/32.png) [@elk1985](https://discuss.elastic.co/u/elk1985)
#### Post date: [May 7, 2024, 11:31am UTC](https://discuss.elastic.co/t/filebeat-is-skipping-some-older-files-and-starts-to-send-new-ones/358915/1 "2024-05-07T11:31:54Z")

</div>

Hello.  
I have a problem. I have upgraded my cluster to 8.10.4 all together with filebeats.  
I have added new logs for 1 server. filebeat.yml contains over 40 input sections with multiline configuration, tags etc.  
When i try to start sending files to logstash i have a big problem:  
My filebeat starts to send old files and new files. After few minutes of work and sending randomly some old logs and new ones stops reading old files and locks down only on new coming logs.  
I have try so many options and still it does that. Logstash logs clean, filebeat indecates some LOCK on file problems but after few minutes it starts work **smothly. I have try to set**  
**scan.sort: modtime**  
**scan.order: asc**  
**harvester\_limit: 1**  
one time works other not. What could be a reason for that ?
