Skip to content
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

Cant decode flowset for first flow packet from a new domain ID #177

Open
rajuuu1992 opened this issue Apr 15, 2019 · 0 comments
Open

Cant decode flowset for first flow packet from a new domain ID #177

rajuuu1992 opened this issue Apr 15, 2019 · 0 comments

Comments

@rajuuu1992
Copy link

rajuuu1992 commented Apr 15, 2019

first.pcap.zip
Logstash receives the attached packets (template and flow packets) but it seems to drop the flow packet with the error

[WARN ][logstash.codecs.netflow ] Can't (yet) decode flowset id 2048 from observation domain id 1010, because no template to decode it with has been received. This message will usually go away after 1 minute.

Subsequent flow packets seem to parsed and it is showing up in kibana UI.
I need help in figuring out why this first flow packet alone is dropped even though template packet is coming before the flow packet.

I'm using these versions
logstash 6.4.3
logstash-codec-netflow (3.14.1)

I have a netflow codec configuration for UDP messages similar to this
codec
{
** versions => [5,9,10]**
** target => "ipfix"**
** cache_save_path => "/usr/..."**
** ipfix_definitions => "...path to ipfix.yml file"**
}
Always, the first flow packet for a new domain ID is dropped by logstash.

Pcap captured on logstash while getting this issue
first.pcap.zip
first.pcap.zip

I'm using pmacctd as flow exporter which sends template just before sending the first flow packet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant