# Ingest data from file

**URL:** <https://discuss.elastic.co/t/ingest-data-from-file/151401>\
**Category:** Logstash\
**Created:** [October 8, 2018, 8:39am UTC](https://discuss.elastic.co/t/ingest-data-from-file/151401 "2018-10-08T08:39:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohamed.Yousry](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@Mohamed.Yousry](https://discuss.elastic.co/u/Mohamed.Yousry)\
**Post date:** [October 8, 2018, 8:39am UTC](https://discuss.elastic.co/t/ingest-data-from-file/151401/1 "2018-10-08T08:39:37Z")

</div>

Hi I am facing the below error when trying to read from file by logstash  
Configuration file

```
input {

	   
	   file {
	        path => "C:\ELK_STACK\cars.csv"
			start_position => "beginning"
			sincedb_path => "NUL"
			
	   }

}

filter {

```

csv {  
separator =\> ","

columns =\> ["maker", "model", "mileage", "manufacture\_year", "engine\_displacement", "engine\_power", "body\_type", "color\_slug", "stk\_year", "transmission", "door\_count", "seat\_count", "fuel\_type", "date\_created", "date\_last\_seen", "price\_eur"]  
}

mutate {convert =\> ["mileage", "integer"] }  
mutate {convert =\> ["price\_eur", "float"] }  
mutate {convert =\> ["engine\_power", "integer"] }  
mutate {convert =\> ["door\_count", "integer"] }  
mutate {convert =\> ["seat\_count", "integer"] }  
}  
output{

```
elasticsearch{
  
  hosts => "127.0.0.1:9200"
  index => "cars"
  document_type => "sold_cars"

```

}

stdout {}  
}

# ==================================================================== Error

[2018-10-08T12:33:48,930][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:33:53,822][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:33:53,936][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:33:53,937][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:33:58,825][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:33:58,942][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:33:58,943][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:03,828][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:03,950][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:03,953][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:08,831][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:08,960][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:08,965][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:13,834][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:13,972][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:13,974][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:18,838][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:18,981][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:18,982][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:23,842][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:23,988][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:23,989][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:28,846][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:28,995][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:28,996][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:33,849][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:34,002][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:34,004][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:38,852][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:39,013][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:39,015][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:43,855][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:44,024][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:44,025][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:48,861][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:49,029][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:49,030][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:53,864][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:54,036][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:54,037][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:34:58,866][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:34:59,043][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-08T12:34:59,044][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-08T12:35:03,870][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x15f5bdd2 sleep\>"}  
[2018-10-08T12:35:04,050][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [October 8, 2018, 4:10pm UTC](https://discuss.elastic.co/t/ingest-data-from-file/151401/2 "2018-10-08T16:10:16Z")

</div>

I see a lot of DEBUG log entries but no ERROR messages.  
Try turning your logging back to ERROR in your logstash.yml file.

---

<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:** [November 5, 2018, 4:10pm UTC](https://discuss.elastic.co/t/ingest-data-from-file/151401/3 "2018-11-05T16:10:16Z")

</div>

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