[Solved] Netflow input in Logstash

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}

I updaded my logstash codec and now its running.