# Logstash not processing all logfiles

**URL:** <https://discuss.elastic.co/t/logstash-not-processing-all-logfiles/149472>\
**Category:** Logstash\
**Created:** [September 21, 2018, 1:49pm UTC](https://discuss.elastic.co/t/logstash-not-processing-all-logfiles/149472 "2018-09-21T13:49:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![G-K-Patel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/g-k-patel/32/53143_2.png) [@G-K-Patel](https://discuss.elastic.co/u/G-K-Patel)\
**Post date:** [September 21, 2018, 1:49pm UTC](https://discuss.elastic.co/t/logstash-not-processing-all-logfiles/149472/1 "2018-09-21T13:49:45Z")

</div>

Dear all,

I am using Logstash (6.4.0 in a Docker Image) to unzip (.gz files) and delete the processed file after EOF. My Input filter is like this,

input {  
file {  
path =\> "/input/\*\*/\*.gz"  
mode =\> "read"  
file\_completed\_action =\> "delete"  
}  
}

Interestingly, the file which are not being processed, get immediately processed after I make a restart of the Logstash Docker.

Please let me know, if I need to configure some more Options in the File plugin. Many thanks for the help.

---

<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:** [October 19, 2018, 1:49pm UTC](https://discuss.elastic.co/t/logstash-not-processing-all-logfiles/149472/2 "2018-10-19T13:49:46Z")

</div>

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