# Problem importing data to kibana through logstash

**URL:** <https://discuss.elastic.co/t/problem-importing-data-to-kibana-through-logstash/152834>\
**Category:** Logstash\
**Created:** [October 17, 2018, 12:32pm UTC](https://discuss.elastic.co/t/problem-importing-data-to-kibana-through-logstash/152834 "2018-10-17T12:32:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mansi\_sharma](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@mansi\_sharma](https://discuss.elastic.co/u/mansi_sharma)\
**Post date:** [October 17, 2018, 12:32pm UTC](https://discuss.elastic.co/t/problem-importing-data-to-kibana-through-logstash/152834/1 "2018-10-17T12:32:15Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/7/7/77a0332a2180f60b39e734f681b8e81eb0d734d6.png)

above error occurs whenever i try connecting. My config file contains following code and i am using windows 10 OS.

input {  
file{  
path =\> "C:\Program Files\data\cars.csv"  
start\_position =\> "beginning"  
sincdb\_path =\> "/dev/null"  
}  
}  
filter{  
csv {  
separator =\> ","  
columns =\> ["maker", "model", "mileage", "manfacture\_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 {  
elasticsearcg {  
hosts =\> "localhost"  
index =\> "cars"  
document\_type =\> "sold\_cars"  
}  
stdout {}  
}

---

<div class="post-metadata">

**Author:** ![abdon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdon/32/9195_2.png) [@abdon](https://discuss.elastic.co/u/abdon)\
**Post date:** [October 17, 2018, 1:20pm UTC](https://discuss.elastic.co/t/problem-importing-data-to-kibana-through-logstash/152834/2 "2018-10-17T13:20:28Z")

</div>

It's always better to post the output of an error as text on this forum instead of a screenshot. 🙂 Also, I'm moving your post to the Logstash forum.

I think the problem is with the space in the path (`Program Files`). Try running Logstash in a directory without a space in the path.

---

<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 14, 2018, 1:29pm UTC](https://discuss.elastic.co/t/problem-importing-data-to-kibana-through-logstash/152834/3 "2018-11-14T13:29:01Z")

</div>

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