# Logstash doesn't index all files in a folder

**URL:** <https://discuss.elastic.co/t/logstash-doesnt-index-all-files-in-a-folder/161643>\
**Category:** Logstash\
**Created:** [December 20, 2018, 9:01am UTC](https://discuss.elastic.co/t/logstash-doesnt-index-all-files-in-a-folder/161643 "2018-12-20T09:01:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satyabrata\_Dash](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Satyabrata\_Dash](https://discuss.elastic.co/u/Satyabrata_Dash)\
**Post date:** [December 20, 2018, 9:01am UTC](https://discuss.elastic.co/t/logstash-doesnt-index-all-files-in-a-folder/161643/1 "2018-12-20T09:01:04Z")

</div>

Hello All, I am new to Elastic Stack and have been working on it for last 2 weeks. I am facing an issue with Logstash where I am reading log files from a specific folder. But when I tried to find some data on Kibana, I observed that some files got skipped. When I ran them individually, they all indexed fine. I need Logstash to pick up and index all files correctly, can someone help me?  
I am using: elasticsearch-6.5.1, kibana-6.5.2, logstash-6.5.1 on Windows Machine  
Configuration:  
input {  
file {  
path =\> "C:/Users/s5tn7jp/LogMonitoring/logs/\*"  
type =\> "marketshare"  
start\_position =\> "beginning"  
}  
}

filter { kv { field\_split\_pattern =\> " " } }

output {  
elasticsearch {  
hosts =\> ["[http://localhost:9200](http://localhost:9200)"]  
index =\> "logstash"  
}  
stdout { codec =\> rubydebug }}  
Log:: time='2018-12-11T05:04:38,188' type='VERBOSE' code='103024' target='TestServer' methodName='Draw' machine='[DEV.PORTFOLIO.COM](http://DEV.PORTFOLIO.COM)' process='18819' thread='508' user='sstyu2' elapsed='0.09941' Message: Access

---

<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:** [January 17, 2019, 9:01am UTC](https://discuss.elastic.co/t/logstash-doesnt-index-all-files-in-a-folder/161643/2 "2019-01-17T09:01:05Z")

</div>

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