# \[Solved\] Netflow input in Logstash

**URL:** <https://discuss.elastic.co/t/solved-netflow-input-in-logstash/61990>\
**Category:** Logstash\
**Created:** [October 1, 2016, 4:55pm UTC](https://discuss.elastic.co/t/solved-netflow-input-in-logstash/61990 "2016-10-01T16:55:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurabh\_Jambhule](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Saurabh\_Jambhule](https://discuss.elastic.co/u/Saurabh_Jambhule)\
**Post date:** [October 1, 2016, 4:55pm UTC](https://discuss.elastic.co/t/solved-netflow-input-in-logstash/61990/1 "2016-10-01T16:55:45Z")

</div>

I am getting an error. Please look into this.

Following is my config file:

```
input {
  udp {
    port => 2055
    codec => netflow
    type => "netflow"
  }
}

output {
  stdout {
    codec => rubydebug
  }
}

```

Following error comes when I start logstash:

`fetched an invalid config {:config=>"input {\n udp {\n port => 2055\n codec => netflow\n type => \"netflow\"\n }\n}\n\n\noutput {\n stdout {\n codec => rubydebug\n }\n}\n\n", :reason=>"field 'fields' is a reserved name in BinData::Array", :level=>:error}`

---

<div class="post-metadata">

**Author:** ![Saurabh\_Jambhule](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Saurabh\_Jambhule](https://discuss.elastic.co/u/Saurabh_Jambhule)\
**Post date:** [October 1, 2016, 5:27pm UTC](https://discuss.elastic.co/t/solved-netflow-input-in-logstash/61990/2 "2016-10-01T17:27:50Z")

</div>

I updaded my logstash codec and now its running.

---

<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:36am UTC](https://discuss.elastic.co/t/solved-netflow-input-in-logstash/61990/3 "2017-07-06T04:36:13Z")

</div>


