# Logstash missing few lines /not detecting new files

**URL:** https://discuss.elastic.co/t/logstash-missing-few-lines-not-detecting-new-files/25526
**Category:** Logstash
**Created:** [July 14, 2015, 2:03pm UTC](https://discuss.elastic.co/t/logstash-missing-few-lines-not-detecting-new-files/25526 "2015-07-14T14:03:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sugumar](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@sugumar](https://discuss.elastic.co/u/sugumar)
#### Post date: [July 14, 2015, 2:03pm UTC](https://discuss.elastic.co/t/logstash-missing-few-lines-not-detecting-new-files/25526/1 "2015-07-14T14:03:59Z")

</div>

I am using Logstash 1.5.2 and elasticsearch 1.6.0 in windows 7

Below issues are could not address myself.

**1. When i am using file input with wildcard option the newly added files are not getting processed.**  
**2. If i made any update on new file then it will get process but some lines are ignored.**

consider file1 having 5 lines of log its getting forwared into logstash.  
if i am creating file2 (new file) with 10 lines its not getting processed. it will get processed after i made any update on new file but first 5 lines are getting ignored.

if i set start-position =\> "beginning" its re-scanning all the files when ever my service/system restarted.

any help would be greatly appreciated.

---

<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: [July 6, 2017, 5:34am UTC](https://discuss.elastic.co/t/logstash-missing-few-lines-not-detecting-new-files/25526/2 "2017-07-06T05:34:48Z")

</div>


