# Expected one of #, input, filter, output at line 1, column 1 (byte 1) after

**URL:** <https://discuss.elastic.co/t/expected-one-of-input-filter-output-at-line-1-column-1-byte-1-after/152435>\
**Category:** Logstash\
**Created:** [October 15, 2018, 7:05am UTC](https://discuss.elastic.co/t/expected-one-of-input-filter-output-at-line-1-column-1-byte-1-after/152435 "2018-10-15T07:05:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jambhale12](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jambhale12](https://discuss.elastic.co/u/jambhale12)\
**Post date:** [October 15, 2018, 7:05am UTC](https://discuss.elastic.co/t/expected-one-of-input-filter-output-at-line-1-column-1-byte-1-after/152435/1 "2018-10-15T07:05:41Z")

</div>

Hello, Please help me to solve this issue

I am getting below error message while running logstash-test.conf

Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after ",

logstash-test.conf

input {  
file {  
path =\> "C:\Users\aniket\Downloads\logstash-6.4.1\logstash-6.4.1\bin\test.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "nul"  
}  
}  
filter {  
csv {  
separator =\> ","  
columns =\> ["name","id"]  
}  
}  
output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
user =\> "username"  
password =\> "password"  
index =\> "test"  
document\_type =\> "test"  
}  
}

test.csv

name,id  
aniket,101

---

<div class="post-metadata">

**Author:** ![jambhale12](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jambhale12](https://discuss.elastic.co/u/jambhale12)\
**Post date:** [October 16, 2018, 4:31pm UTC](https://discuss.elastic.co/t/expected-one-of-input-filter-output-at-line-1-column-1-byte-1-after/152435/2 "2018-10-16T16:31:18Z")

</div>

its working as converted to UTF-8.

Thanks

---

<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 13, 2018, 4:39pm UTC](https://discuss.elastic.co/t/expected-one-of-input-filter-output-at-line-1-column-1-byte-1-after/152435/3 "2018-11-13T16:39:31Z")

</div>

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