# Logstash and filebeat picking up the old files again and again

**URL:** <https://discuss.elastic.co/t/logstash-and-filebeat-picking-up-the-old-files-again-and-again/228163>\
**Category:** Logstash\
**Created:** [April 15, 2020, 3:52pm UTC](https://discuss.elastic.co/t/logstash-and-filebeat-picking-up-the-old-files-again-and-again/228163 "2020-04-15T15:52:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ananya\_Mohiley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ananya_mohiley/32/61989_2.png) [@Ananya\_Mohiley](https://discuss.elastic.co/u/Ananya_Mohiley)\
**Post date:** [April 15, 2020, 3:52pm UTC](https://discuss.elastic.co/t/logstash-and-filebeat-picking-up-the-old-files-again-and-again/228163/1 "2020-04-15T15:52:45Z")

</div>

i have configured logstash and filebeat on localhost however even when there is no updation of files in the folder the elasticsearch index is being populated by same files repetitively

pl suggest remedial measures

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 15, 2020, 5:43pm UTC](https://discuss.elastic.co/t/logstash-and-filebeat-picking-up-the-old-files-again-and-again/228163/2 "2020-04-15T17:43:06Z")

</div>

What does your input section look like?

---

<div class="post-metadata">

**Author:** ![Ananya\_Mohiley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ananya_mohiley/32/61989_2.png) [@Ananya\_Mohiley](https://discuss.elastic.co/u/Ananya_Mohiley)\
**Post date:** [April 16, 2020, 3:51am UTC](https://discuss.elastic.co/t/logstash-and-filebeat-picking-up-the-old-files-again-and-again/228163/3 "2020-04-16T03:51:06Z")

</div>

hi am trying to parse text files using a suitable filter however getting stuck, the file looks as under  
file name@@@@@@@@@@@@@@@@@@@@@@@@@@dummy report 1.docx  
data = ROUTINE REPORT

from = 17  
to = 70  
orig = main office  
info =  
HQ Benz  
india office  
bangladesh office  
srilanka office

activity : sales  
location: new delhi,34.08374  
total sold: 03

dealers : XYZ Automobiles

models: pqr,qws,wer

activity : servicing  
Location: mumbai,34.08374, 74.789902

problems: engine malfunctioning, tail light problem,axle problem

service centre: Das autos

Date: 29052020  
i need to split these something into key value pairs which are seperated by either "=" or ":" . there will be a case wherein each file will have more or lesser fields or maybe os similar or dissimilar order.

---

<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:** [May 14, 2020, 3:51am UTC](https://discuss.elastic.co/t/logstash-and-filebeat-picking-up-the-old-files-again-and-again/228163/4 "2020-05-14T03:51:08Z")

</div>

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