要不要也来分享分享一下啊

Filebeat netflow模块No template for ID 256

Beats | 作者 luweijun | 发布于2019年12月16日 | 阅读数:4660

软件版本:7.5.0
运行环境:CentOS 7.7使用FIlebeat中netflow模块来收集网络设备流量数据。
在服务端抓包可以看到数据已经到达服务端,但是无法写入到es、(filebeat是直接写入es)
filebeat -e -v -c filebeat.yml 运行后看到以下日志
--------------------------------------------------------------------------------------------------------------------------------------------------------------
2019-12-16T10:09:16.937+0800 INFO [netflow] netflow/input.go:149 Starting UDP input
2019-12-16T10:09:16.937+0800 INFO [udp] udp/server.go:81 Started listening for UDP connection {"address": "0.0.0.0:2055"}
2019-12-16T10:09:17.358+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:716094
2019-12-16T10:09:17.358+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 256 length 48
2019-12-16T10:09:17.358+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] No template for ID 256
2019-12-16T10:09:17.458+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:716095
2019-12-16T10:09:17.459+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 256 length 48
2019-12-16T10:09:17.459+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] No template for ID 256
2019-12-16T10:09:17.459+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:716096
2019-12-16T10:09:17.459+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 256 length 48
2019-12-16T10:09:17.459+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] No template for ID 256
2019-12-16T10:09:17.556+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:716097
2019-12-16T10:09:17.556+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 256 length 48
2019-12-16T10:09:17.556+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] No template for ID 256
2019-12-16T10:09:17.556+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:1220725
2019-12-16T10:09:17.556+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 0 length 76
2019-12-16T10:09:17.556+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] state 0xc000171700 addTemplate 256 0xc000844200
2019-12-16T10:09:17.657+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:716098
2019-12-16T10:09:17.657+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Session 192.168.255.254:40000 reset (sequence=716098 last=716098)
2019-12-16T10:09:17.657+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 256 length 48
2019-12-16T10:09:17.657+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] No template for ID 256
2019-12-16T10:09:17.657+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:716099
2019-12-16T10:09:17.657+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 256 length 48
2019-12-16T10:09:17.657+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] No template for ID 256
2019-12-16T10:09:17.757+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:716100
2019-12-16T10:09:17.757+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 256 length 48
2019-12-16T10:09:17.757+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] No template for ID 256
2019-12-16T10:09:17.758+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] Packet from:192.168.255.254:40000 src:0 seq:716101
2019-12-16T10:09:17.758+0800 DEBUG [netflow] netflow/input.go:77 [netflow-v9] FlowSet ID 256 length 48

已邀请:

要回复问题请先登录注册