-
Notifications
You must be signed in to change notification settings - Fork 87
Description
- Version: Logstash (7.7.1) / logstash-codec-netflow (4.2.1)
- Operating System: RHEL 7.8
- Input config:
input {
udp {
id => "logstash_netscaler_input"
port => 12208
codec => netflow {
versions => [10]
target => ipfix
cache_save_path => "/tmp"
ipfix_definitions => "/etc/logstash/conf.d/ipfix.yaml"
include_flowset_id => true
}
type => ipfix
}
}
File ipfix.yaml is exactly this one:
https://github.com/logstash-plugins/logstash-codec-netflow/blob/master/lib/logstash/codecs/netflow/ipfix.yaml
Traffic is received from Netscaler to Logstash but it seems that the IPFIX template can not be read. We get the following Warnings to logstash-plain.log from id's 256 - 332:
Can't (yet) decode flowset id 256 from observation domain id 0, because no template to decode it with has been received. This message will usually go away after 1 minute.
... and this Warning from enterprise field:
Unsupported enterprise field {:type=>638, :enterprise=>5951, :length=>2}
However it can be confirmed by taking a tcpdump capture from Logstash server that templates are received:

When starting Logstash, it warns that:
Template Cache does not exist {:file_path=>"/tmp/ipfix_templates.cache"}
However the cache file is not generated even if pipeline is running for hours, although templates are sent by Netscaler every 60 seconds.