# Windows 10 logstash config parse error \[Expected one of #, {, } at line 11, column 17 \]

**URL:** <https://discuss.elastic.co/t/windows-10-logstash-config-parse-error-expected-one-of-at-line-11-column-17/133015>\
**Category:** Logstash\
**Created:** [May 23, 2018, 3:18pm UTC](https://discuss.elastic.co/t/windows-10-logstash-config-parse-error-expected-one-of-at-line-11-column-17/133015 "2018-05-23T15:18:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manish\_Baphna](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@Manish\_Baphna](https://discuss.elastic.co/u/Manish_Baphna)\
**Post date:** [May 23, 2018, 3:18pm UTC](https://discuss.elastic.co/t/windows-10-logstash-config-parse-error-expected-one-of-at-line-11-column-17/133015/1 "2018-05-23T15:18:59Z")

</div>

Hi,

While loading a CSV file into logstash, I am seeing error about Config's line#11 ( separator =\> "," ) which looks pretty normal to me. Can someone suggest what's wrong here.

Config:

> input {  
> file {  
> path =\> "c:\Work\csvs\toxicity.csv"  
> start\_position =\> "beginning"  
> sincedb\_path =\> "c:\Work"  
> }  
> }
> 
> filter {  
> csv {  
> separator =\> ","  
> columns =\> ["pod","client","trader","ric","Side","washbook",  
> "dollarvalue","hedgedPNL","bps","bps10","commvalue","profit","bpsTotal"]  
> }  
> }
> 
> output {  
> elasticsearch {  
> hosts =\> "locahost:9200"  
> index =\> "Toxicity"  
> document\_type =\> "Toxicity"  
> }  
> stdout {  
> }  
> }

Error:  
c:\Work\logstash-6.2.4\>bin\logstash.bat -f ..\csvs\toxicity.cfg  
Sending Logstash's logs to c:/Work/logstash-6.2.4/logs which is now configured via log4j2.properties  
[2018-05-23T20:54:33,129][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"c:/Work/logstash-6.2.4/modules/fb\_apache/configuration"}  
[2018-05-23T20:54:33,162][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"c:/Work/logstash-6.2.4/modules/netflow/configuration"}  
[2018-05-23T20:54:33,560][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-05-23T20:54:34,350][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.2.4"}  
[2018-05-23T20:54:35,007][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2018-05-23T20:54:35,279][ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #, {, } at line 11, column 17 (byte 154) after input {\n\tfile {\n\t\tpath =\> "c:\Work\csvs\toxicity.csv"\n\t\tstart\_position =\> "beginning"\n\t\tsincedb\_path =\> "c:\Work\"\n\t}\n}\n\nfilter {\n\tcsv {\n\t\tseparator =\> "", :backtrace=\>["c:/Work/logstash-6.2.4/logstash-core/lib/logstash/compiler.rb:42:in `compile_imperative'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/compiler.rb:50:in `compile\_graph'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/compiler.rb:12:in `block in compile_sources'", "org/jruby/RubyArray.java:2486:in `map'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/compiler.rb:11:in `compile_sources'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:51:in `initialize'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:169:in `initialize'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/pipeline_action/create.rb:40:in `execute'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/agent.rb:315:in `block in converge_state'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/agent.rb:141:in `with\_pipelines'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/agent.rb:312:in `block in converge_state'", "org/jruby/RubyArray.java:1734:in `each'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/agent.rb:299:in `converge_state'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/agent.rb:166:in `block in converge\_state\_and\_update'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/agent.rb:141:in `with_pipelines'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/agent.rb:164:in `converge\_state\_and\_update'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/agent.rb:90:in `execute'", "c:/Work/logstash-6.2.4/logstash-core/lib/logstash/runner.rb:348:in `block in execute'",

---

<div class="post-metadata">

**Author:** ![arkady\_renko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arkady_renko/32/30160_2.png) [@arkady\_renko](https://discuss.elastic.co/u/arkady_renko)\
**Post date:** [May 23, 2018, 4:09pm UTC](https://discuss.elastic.co/t/windows-10-logstash-config-parse-error-expected-one-of-at-line-11-column-17/133015/2 "2018-05-23T16:09:28Z")

</div>

sincedb\_path must be a file path and not a directory path. C:\Work seems directory.

[https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#plugins-inputs-file-sincedb\_path](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#plugins-inputs-file-sincedb_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:** [June 20, 2018, 4:18pm UTC](https://discuss.elastic.co/t/windows-10-logstash-config-parse-error-expected-one-of-at-line-11-column-17/133015/3 "2018-06-20T16:18:57Z")

</div>

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