-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPFIX multiple identical fields (Was: Can't decode flowset id 258 from observation domain id 256) #169
Comments
When this pcap was taken I was getting error message with flowset id 257. |
here's the latest pcap from logstash. |
This is the debug log: [2018-10-30T16:15:43,884][ERROR][logstash.inputs.udp ] Exception in inputworker {"exception"=>#<NameError: field 'ciscoAppHTTPHost' in BinData::Struct, is defined multiple times.>, "backtrace"=>["/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/bindata-2.4.4/lib/bindata/struct.rb:409:in |
In a single flowset Logstash is getting type 12235 (ciscoAppHTTPHost) multiple times. I thing this is the problem. How to fix this? |
Thanks for the update. Apart from this issue my setup is running fantastic. Waiting for the fix to play with IPFIX. Just asking if there is any work in progress on it? |
No progress, sorry. |
@jorritfolmer I ran into this same issue when trying to use OpenVSwitch as an IPFIX source, since it duplicates the I have a working patch that addresses this problem by pre-processing the fields in the template received from the source and "hides" the duplicate/identical fields by replacing the field name with an empty string before constructing the This seems like a reasonable trade-off, and the code change to support this is very small. If you think this is a reasonable approach, I'll go ahead and create supporting tests and a PR for this change. |
Yes that sounds like an improvement over the current state.
I'm no longer maintaining logstash-codec-netflow through, but I would suggest you create a PR and go from there. |
am facing the same issue as @dmittendorf and looking for a solution . @dmittendorf can you please share your solution ? |
For IPFIX exporter (Cisco router of 4321 model and IOS 16), I am getting this message. I run the flow for hours. But this message is not going away. Using elastiflow on top this codec.
Netflow version 9 is working fine. Problem is only with IPFIX.
logstash version : 6.4
logstash-codec-netflow: 4.2
I am new in ELK. Help will be appreciated. I attached a PCAP file if it helps.
colopcap.zip
The text was updated successfully, but these errors were encountered: