repeatedly / fluent-plugin-netflow

Netflow plugin for Fluentd
60 stars 24 forks source link

Error Logs for TD-Agent #21

Open spirrello opened 8 years ago

spirrello commented 8 years ago

Hi,

I installed this fluent plugin and when I check the logs I'm seeing the following error. The following IP addresses are indeed netflow devices exporting records.

[root@c7-7 ~]# tail -f /var/log/td-agent/td-agent.log

2016-08-14 17:27:35 -0400 [warn]: unexpected error on parsing data="\"\x00\t\x00\x05L\x96\xB6(W\xB0\xE2J\x00\bgQ\x00\x00\x00\x06\x00\x01\x00\x1A\x01\x00\x00\x04\x00\f\x00\x01\x00\x04\x00\n\x00\x04\x00R\x00 \x00S\x00@\x01\x00\x01\xA4\x00\x00\x00\x00\x00\x00\x00\x0EPo1.1156\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00Port-channel1.1156\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0FPo1.1159\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00Port-channel1.1159\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10Tu1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00Tunnel1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06Vo0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00VoIP-Null0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\"" error_class=ArgumentError error="negative length -4 given" 2016-08-14 17:27:35 -0400 [warn]: suppressed same stacktrace 2016-08-14 17:27:38 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:39 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:41 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:42 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:43 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:44 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:27:48 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:49 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:54 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:55 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:56 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:27:58 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:28:01 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:03 -0400 [warn]: No matching template for host="10.159.129.2" source_id=258 flowset_id=256 2016-08-14 17:28:06 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:28:08 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:28:10 -0400 [warn]: No matching template for host="10.159.129.11" source_id=256 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256 2016-08-14 17:28:11 -0400 [warn]: No matching template for host="10.159.129.2" source_id=257 flowset_id=256

repeatedly commented 8 years ago

I released v0.2.4 including #22 patch. Please try this version.