# message=\>"Expected one of #

**URL:** <https://discuss.elastic.co/t/message-expected-one-of/138496>\
**Category:** Logstash\
**Created:** [July 4, 2018, 7:22am UTC](https://discuss.elastic.co/t/message-expected-one-of/138496 "2018-07-04T07:22:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 4, 2018, 7:22am UTC](https://discuss.elastic.co/t/message-expected-one-of/138496/1 "2018-07-04T07:22:11Z")

</div>

Sending Logstash's logs to C:/logstash-6.3.0/logs which is now configured via log4j2.properties  
[2018-07-04T12:49:04,756][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-07-04T12:49:06,123][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.3.0"}  
[2018-07-04T12:49:07,349][ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #, =\> at line 30, column 16 (byte 482) after filter{\n\tcsv{\n\tseparator=\>","\n\tcolumns=\>["season","city","date","team1","team2","toss\_winner","toss\_decision","result",\n\t"dl\_applied","winner","win\_by\_runs","win\_by\_wickets","player\_of\_match","venue"]\n\t}\n\n\tmutuate {\n\tconvert =\>{\n\n\t"seson"=\>"integer"\n\t\t"win\_by\_runs"=\>"integer"\n\t\t\t"dl\_applied"=\>"integer"\n\t\t\t\t"win\_by\_wickets"=\>"integer"\n\n\t}\n\t\n\n}\noutput{\n\telasticsearch ", :backtrace=\>["C:/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:42:in `compile_imperative'", "C:/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:50:in`compile\_graph'", "C:/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:12:in `block in compile_sources'", "org/jruby/RubyArray.java:2486:in`map'", "C:/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:11:in `compile_sources'", "C:/logstash-6.3.0/logstash-core/lib/logstash/pipeline.rb:49:in`initialize'", "C:/logstash-6.3.0/logstash-core/lib/logstash/pipeline.rb:167:in `initialize'", "C:/logstash-6.3.0/logstash-core/lib/logstash/pipeline_action/create.rb:40:in`execute'", "C:/logstash-6.3.0/logstash-core/lib/logstash/agent.rb:305:in `block in converge\_state'"]}  
[2018-07-04T12:49:08,192][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
MY code is (logstash):  
input{  
file{  
path=\>"C:\logstash-6.3.0\matches.csv"  
start\_position=\>"beginning"  
sincedb\_path =\> "null"

```
}

```

}  
filter{  
csv{  
separator=\>","  
columns=\>["season","city","date","team1","team2","toss\_winner","toss\_decision","result",  
"dl\_applied","winner","win\_by\_runs","win\_by\_wickets","player\_of\_match","venue"]  
}

```
mutuate {
convert =>{

"seson"=>"integer"
	"win_by_runs"=>"integer"
		"dl_applied"=>"integer"
			"win_by_wickets"=>"integer"

}

```

}  
output{  
elasticsearch {  
hosts=\>"localhost"  
index=\>"ipl2k16"  
document\_type="fixture"  
}  
stdout{}  
}  
any suggestion,,welcome

---

<div class="post-metadata">

**Author:** ![paz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paz/32/28003_2.png) [@paz](https://discuss.elastic.co/u/paz)\
**Post date:** [July 4, 2018, 10:54am UTC](https://discuss.elastic.co/t/message-expected-one-of/138496/2 "2018-07-04T10:54:10Z")

</div>

This is a configuration error (usually a typo). Log tells you in which line it is, specifically at:  
`document_type="fixture"` which should be `document_type=>"fixture"`

---

<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:** [August 1, 2018, 10:54am UTC](https://discuss.elastic.co/t/message-expected-one-of/138496/3 "2018-08-01T10:54:14Z")

</div>

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