# Logstash is not reading CSV file

**URL:** <https://discuss.elastic.co/t/logstash-is-not-reading-csv-file/60569>\
**Category:** Logstash\
**Created:** [September 15, 2016, 6:54am UTC](https://discuss.elastic.co/t/logstash-is-not-reading-csv-file/60569 "2016-09-15T06:54:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Senz79](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/senz79/32/42874_2.png) [@Senz79](https://discuss.elastic.co/u/Senz79)\
**Post date:** [September 15, 2016, 6:54am UTC](https://discuss.elastic.co/t/logstash-is-not-reading-csv-file/60569/1 "2016-09-15T06:54:13Z")

</div>

i am trying to read a CSV file and seems Logstash is not reading the file. Currently it is stuck at

**D:\Tools\ELK\logstash-2.4.0\bin\>logstash --allow-env agent -f test.conf**  
**Settings: Default pipeline workers: 4**  
**Pipeline main started**

My config looks like

```
input {
 file {
	path => "D:\Tools\ELK\logstash-2.4.0\bin\result.csv"
	type => "jmeter"
	start_position => "beginning"
	ignore_older => 0
	}
}
filter {
      csv {
    	columns => ["time", "elapsed", "label", "responseCode", "threadName",
	            "success", "bytes", "grpThreads", "allThreads", "Latency",
	            "SampleCount", "ErrorCount", "Hostname"]
    }
 
}
output {  
 elasticsearch { 
 hosts => ["localhost:9200"] 
 index => "%{type}-%{+dd.MM.YYYY}"
 }
  stdout { codec => rubydebug }

}

```

Can anyone help to point out the issue

The flow is  
I am running a jmeter test which gives CSV as a output  
Logstash is running and listening to the file

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 15, 2016, 6:57am UTC](https://discuss.elastic.co/t/logstash-is-not-reading-csv-file/60569/2 "2016-09-15T06:57:54Z")

</div>

It's not stuck, it's waiting for new data to be added to the file.

---

<div class="post-metadata">

**Author:** ![Senz79](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/senz79/32/42874_2.png) [@Senz79](https://discuss.elastic.co/u/Senz79)\
**Post date:** [September 15, 2016, 6:59am UTC](https://discuss.elastic.co/t/logstash-is-not-reading-csv-file/60569/3 "2016-09-15T06:59:26Z")

</div>

I also assumed the same so did the process real time ... continuously data is being appended in the file

---

<div class="post-metadata">

**Author:** ![Senz79](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/senz79/32/42874_2.png) [@Senz79](https://discuss.elastic.co/u/Senz79)\
**Post date:** [September 15, 2016, 8:13am UTC](https://discuss.elastic.co/t/logstash-is-not-reading-csv-file/60569/4 "2016-09-15T08:13:41Z")

</div>

Any pointers will help. Currently stuck

---

<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, 4:38am UTC](https://discuss.elastic.co/t/logstash-is-not-reading-csv-file/60569/5 "2017-07-06T04:38:20Z")

</div>


