# Logstash Config error

**URL:** https://discuss.elastic.co/t/logstash-config-error/59970
**Category:** Logstash
**Created:** [September 7, 2016, 10:27am UTC](https://discuss.elastic.co/t/logstash-config-error/59970 "2016-09-07T10:27:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![csr](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@csr](https://discuss.elastic.co/u/csr)
#### Post date: [September 7, 2016, 10:27am UTC](https://discuss.elastic.co/t/logstash-config-error/59970/1 "2016-09-07T10:27:18Z")

</div>

Hi team,  
I am new to ELK and eploring it.  
But I am getting the below error, any idea.  
I've pasted the conf and csv data.

# Kidn regards csr

Conf file

# input { file { path =\> "/data/uploads/stage/pay.csv" start\_position =\> "beginning" } } filter { csv { separator =\> "," columns =\> ["Date","AvgIOPs","MaxIOPs","TheoLimit","PerWrites"] } date { match ==\> ["Date", "YYYY-MM-dd HH:mm:ss"] remove\_field ==\> ["Date"] } mutate {convert =\> ["AvgIOPs", "float"]} mutate {convert =\> ["MaxIOPs", "float"]} mutate {convert =\> ["TheoLimit", "float"]} mutate {convert =\> ["PerWrites", "float"]} } output { elasticsearch { action =\> "index" host =\> "localhost" index =\> "performance" workers =\> 1 } stdout {} }

csv.data

# Date, AvgIOPs, MaxIOPs, TheoLimit, PerWrites 2016-08-02 00:00:00, 974.83, 5187.45, 26481, 97.17 2016-08-02 00:05:00, 2288.60, 7945.80, 44247, 44.77 2016-08-02 00:10:00, 1037.67, 5743.83, 26685, 96.17 2016-08-02 00:15:00, 1720.19, 7205.17, 26213, 98.50 2016-08-02 00:20:00, 1598.35, 6344.72, 26341, 97.86

# /opt/logstash/bin/logstash -f l2.conf --configtest The given configuration is invalid. Reason: Expected one of #, =\> at line 13, column 8 (byte 202) after filter { csv { separator =\> "," columns =\> ["Date","AvgIOPs","MaxIOPs","TheoLimit","PerWrites"] } date { match {:level=\>:fatal}

Any idea, where am I getting wrong...  
Kidn regards  
csr

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [September 7, 2016, 10:28am UTC](https://discuss.elastic.co/t/logstash-config-error/59970/2 "2016-09-07T10:28:17Z")

</div>

> [@csr](#):
>
> match ==\> ["Date", "YYYY-MM-dd HH:mm:ss"] remove\_field ==\> ["Date"]

You only need `=>`

---

<div class="post-metadata">

### Author: ![csr](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@csr](https://discuss.elastic.co/u/csr)
#### Post date: [September 7, 2016, 10:32am UTC](https://discuss.elastic.co/t/logstash-config-error/59970/3 "2016-09-07T10:32:25Z")

</div>

Warkolm,  
Yes, you hit it, it is fine now.  
Thanks, highly appreciated 😄

thanks & regards  
csr

---

<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: [July 6, 2017, 4:39am UTC](https://discuss.elastic.co/t/logstash-config-error/59970/4 "2017-07-06T04:39:30Z")

</div>


