# Logstash log error "Unsupported field" (Netflow question)

**URL:** <https://discuss.elastic.co/t/logstash-log-error-unsupported-field-netflow-question/48649>\
**Category:** Logstash\
**Created:** [April 28, 2016, 8:47am UTC](https://discuss.elastic.co/t/logstash-log-error-unsupported-field-netflow-question/48649 "2016-04-28T08:47:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cipher](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@Cipher](https://discuss.elastic.co/u/Cipher)\
**Post date:** [April 28, 2016, 8:47am UTC](https://discuss.elastic.co/t/logstash-log-error-unsupported-field-netflow-question/48649/1 "2016-04-28T08:47:12Z")

</div>

Hi all

Please go easy on me 🙂 - I've just literally installed ELK on a CentOS7 VM in order to trial the Netflow support for Cisco devices (to start with, then moving on to what else this collection of packages can do together).

I've configured a Cisco ASA 5505 to push V9 Netflow data to my ELK system, here are my various configuration files (if someone would not mind vetting them for me to ensure I am on the right track that would be much appreciated):

/etc/logstash/conf.d/10-logstash-netflow.conf

input {  
udp {  
port =\> 9995  
codec =\> netflow {  
versions =\> [9]  
}  
}  
}

output {  
stdout { codec =\> rubydebug }  
if ( [host] =~ "123.4.5.6" ) {  
elasticsearch {  
index =\> "logstash\_netflow9-%{+YYYY.MM.dd}"  
host =\> "localhost"  
cluster =\> "somecluster-cl01"  
protocol =\> http  
}  
} else {  
elasticsearch {  
index =\> "logstash-%{+YYYY.MM.dd}"  
host =\> "localhost"  
cluster =\> "somecluster-cl01"  
protocol =\> http  
}  
}  
}

/etc/elasticsearch/elasticsearch.yml

Everything default except:

[cluster.name](http://cluster.name): somecluster-cl01  
node.max\_local\_storage\_nodes: 1  
gateway.expected.nodes: 1

So I can see flows being received on the correct port but the issue I've got is in the logstash log file I see this error and no data is available in Kibana:

{:timestamp=\>"2016-04-28T00:36:02.610000+0100", :message=\>"No matching template for flow id 263", :level=\>:warn}

...thats one example, but there are a few different ids that are missing - I know that this is relating to the file: netflow.yaml and there is no definition for the above ids - but I also read a reply on a forum that if the ASA is spamming flows it can cause issues, wrigby on github mentioned in reply to someone else a while ago:

"How often are your flow exporters (routers) configured to send out template records? When Logstash starts, it will have to wait for a template record before it can parse the flowset records. If those messages are lasting more than a minute or so, then we have a real problem."

Appreciate any advice to point me in the right direction

Thanks

---

<div class="post-metadata">

**Author:** ![Cipher](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@Cipher](https://discuss.elastic.co/u/Cipher)\
**Post date:** [April 28, 2016, 5:34pm UTC](https://discuss.elastic.co/t/logstash-log-error-unsupported-field-netflow-question/48649/2 "2016-04-28T17:34:28Z")

</div>

No-one got any ideas?

Thanks 🙂

---

<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, 5:00am UTC](https://discuss.elastic.co/t/logstash-log-error-unsupported-field-netflow-question/48649/3 "2017-07-06T05:00:07Z")

</div>


