# Logstash

**URL:** <https://discuss.elastic.co/t/logstash/252689>\
**Category:** Logstash\
**Created:** [October 20, 2020, 1:24pm UTC](https://discuss.elastic.co/t/logstash/252689 "2020-10-20T13:24:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syed.Ubaid](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@Syed.Ubaid](https://discuss.elastic.co/u/Syed.Ubaid)\
**Post date:** [October 20, 2020, 1:24pm UTC](https://discuss.elastic.co/t/logstash/252689/1 "2020-10-20T13:24:56Z")

</div>

After installing xpack logstash is giving error

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/1/317ac411fd0c9a1e9943a8bb41a2d3e7a7cd0130.png) my configuration file is  
input {  
file {  
path =\> "D:/csv/countriesdata.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "NUL"  
}  
}  
filter {  
csv {  
separator =\> ","  
columns =\> ["Country","Region","Population","Area"]  
}  
mutate {convert =\> ["Population", "integer"]}  
mutate {convert =\> ["Area", "integer"]}  
}  
output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
index =\> "countriesdata-%{+dd.MM.YYYY}"  
user =\> elastic  
password =\> elastic  
}  
stdout {codec =\> json\_lines }  
}

---

<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 17, 2020, 1:25pm UTC](https://discuss.elastic.co/t/logstash/252689/2 "2020-11-17T13:25:00Z")

</div>

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