# Logstash netflow plugin configuration error

**URL:** <https://discuss.elastic.co/t/logstash-netflow-plugin-configuration-error/62284>\
**Category:** Logstash\
**Created:** [October 5, 2016, 2:54pm UTC](https://discuss.elastic.co/t/logstash-netflow-plugin-configuration-error/62284 "2016-10-05T14:54:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tvs](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tvs](https://discuss.elastic.co/u/tvs)\
**Post date:** [October 5, 2016, 2:54pm UTC](https://discuss.elastic.co/t/logstash-netflow-plugin-configuration-error/62284/1 "2016-10-05T14:54:32Z")

</div>

Hello,

I'm new with logstash, so excuse me if this problem is very simple to fix, unfortunately I couldn't figure out why this is happening.

I'm trying to use logstash to collect traffic information from ESXi using the netflow plugin.

I've created this config file:

> input {  
> udp {  
> port =\> 9995  
> codec =\> netflow {  
> netflow\_definitions =\> "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-netflow-2.1.1/lib/logstash/codecs/netflow/ipfix.yaml"  
> versions =\> [10]  
> target =\> ipfix  
> }  
> }  
> }

> output {  
> stdout { codec =\> rubydebug }  
> elasticsearch {  
> index =\> "logstash\_netflow5-%{+YYYY.MM.dd}"  
> host =\> "localhost"  
> }  
> }

but when I execute:

> logstash -f logstash-staticfile-netflow.conf

I got the following:

> Pipeline aborted due to error {:exception=\>"LogStash::ConfigurationError", :backtrace=\>["/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/config/mixin.rb:88:in `config_init'", "org/jruby/RubyHash.java:1342:in `each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/config/mixin.rb:72:in `config_init'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/outputs/base.rb:79:in `initialize'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/output\_delegator.rb:74:in `register'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:181:in `start\_workers'", "org/jruby/RubyArray.java:1613:in `each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:181:in `start\_workers'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:136:in `run'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/agent.rb:491:in `start\_pipeline'"], :level=\>:error}  
> No matching template for flow id 256 {:level=\>:warn}  
> stopping pipeline {:id=\>"main"}

Do you have any idea why I have this error? Thanks in advance for any help!

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 11, 2016, 5:35am UTC](https://discuss.elastic.co/t/logstash-netflow-plugin-configuration-error/62284/2 "2016-10-11T05:35:43Z")

</div>

> host =\> "localhost"

hosts =\> ["localhost"]

---

<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:34am UTC](https://discuss.elastic.co/t/logstash-netflow-plugin-configuration-error/62284/3 "2017-07-06T04:34:48Z")

</div>


