Hi,
We using filebeat for collect netflow from Mikrotik. Also its work perfect.
Now we need to collect netstream from Huawei AR2240 and it's don't work, flows no seen in kibana.
Then i run filebeat at debug mode i see that:
|2020-10-09T09:22:21.178+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] FlowSet ID 5000 length 900|
|---|---|---|---|---|
|2020-10-09T09:22:21.178+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] No template for ID 5000|
|2020-10-09T09:22:21.277+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] Packet from:10.17.0.1:40000 src:0 seq:15426997|
|2020-10-09T09:22:21.277+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] FlowSet ID 5000 length 900|
|2020-10-09T09:22:21.277+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] No template for ID 5000|
|2020-10-09T09:22:21.378+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] Packet from:10.17.0.1:40000 src:0 seq:15426998|
|2020-10-09T09:22:21.378+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] FlowSet ID 5000 length 900|
|2020-10-09T09:22:21.378+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] No template for ID 5000|
|2020-10-09T09:22:21.378+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] Packet from:10.17.0.1:40000 src:0 seq:15426999|
|2020-10-09T09:22:21.378+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] FlowSet ID 5000 length 900|
|2020-10-09T09:22:21.378+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] No template for ID 5000|
|2020-10-09T09:22:21.425+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] Packet from:10.17.0.1:40000 src:0 seq:15427000|
|2020-10-09T09:22:21.425+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] FlowSet ID 5000 length 360|
|2020-10-09T09:22:21.425+0300|DEBUG|[netflow]|netflow/input.go:80|[netflow-v9] No template for ID 5000|
My netflow module config:
- module: netflow
log:
enabled: true
var:
netflow_host: 0.0.0.0
netflow_port: 9996 `
Configuration from Huawei:
ip netstream tcp-flag enable
ip netstream export source 10.17.0.1
ip netstream export host 10.18.0.1 9996
ip netstream export version 9
ip netstream record NETSTREAM_TEST
match ipv4 source-address
match ipv4 destination-address
match ipv4 source-port
match ipv4 destination-port
match ipv4 protocol
collect counter packets
collect counter bytes
collect interface input
collect interface output
Tunnel0/0/10
port ip netstream record NETSTREAM_TEST
ip netstream inbound
ip netstream outbound