logstash-plugins / logstash-codec-netflow

Apache License 2.0
78 stars 88 forks source link

Template not found when using Flexible Netflow templates #127

Closed Splitarra closed 6 years ago

Splitarra commented 6 years ago

I am exporting some fields that weren't in the netflow.yaml file so i added those definitions with no success:

70:

I get the following error: [2018-03-31T17:44:11,234][WARN ][logstash.codecs.netflow ] Can't (yet) decode flowset id 279 from source id 2048, because no template to decode it with has been received Which seems to suggest that the netflow plugin is not recognising the template that is being sent?

When i set up a wireshark the template file is received within a few minutes. I have attached a txt representation of the packet capture but can email the actual PCAP containing the template and netflow messages if needed.

flow packet.txt template packet.txt

jorritfolmer commented 6 years ago

The Cisco ASR 1k is on the list of devices that we currently don't support due to duplicate fields. Or rather "can't" because the library we use to parse the netflow structure doesn't support it.

Splitarra commented 6 years ago

Hi Jorritfolmer.

Thanks for your answer on this. I managed to get around the issue by using nprobe as a proxy for the netflow data.