{"action":"closed","issue":{"url":"https://api.github.com/repos/delian/node-netflowv9/issues/6","labels_url":"https://api.github.com/repos/delian/node-netflowv9/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/delian/node-netflowv9/issues/6/comments","events_url":"https://api.github.com/repos/delian/node-netflowv9/issues/6/events","html_url":"https://github.com/delian/node-netflowv9/issues/6","id":58322604,"number":6,"title":"in_bytes undefined","user":{"login":"bjoernhoefer","id":1112836,"avatar_url":"https://avatars.githubusercontent.com/u/1112836?v=3","gravatar_id":"","url":"https://api.github.com/users/bjoernhoefer","html_url":"https://github.com/bjoernhoefer","followers_url":"https://api.github.com/users/bjoernhoefer/followers","following_url":"https://api.github.com/users/bjoernhoefer/following{/other_user}","gists_url":"https://api.github.com/users/bjoernhoefer/gists{/gist_id}","starred_url":"https://api.github.com/users/bjoernhoefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjoernhoefer/subscriptions","organizations_url":"https://api.github.com/users/bjoernhoefer/orgs","repos_url":"https://api.github.com/users/bjoernhoefer/repos","events_url":"https://api.github.com/users/bjoernhoefer/events{/privacy}","received_events_url":"https://api.github.com/users/bjoernhoefer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"delian","id":113510,"avatar_url":"https://avatars.githubusercontent.com/u/113510?v=3","gravatar_id":"","url":"https://api.github.com/users/delian","html_url":"https://github.com/delian","followers_url":"https://api.github.com/users/delian/followers","following_url":"https://api.github.com/users/delian/following{/other_user}","gists_url":"https://api.github.com/users/delian/gists{/gist_id}","starred_url":"https://api.github.com/users/delian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delian/subscriptions","organizations_url":"https://api.github.com/users/delian/orgs","repos_url":"https://api.github.com/users/delian/repos","events_url":"https://api.github.com/users/delian/events{/privacy}","received_events_url":"https://api.github.com/users/delian/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/delian/node-netflowv9/milestones/1","html_url":"https://github.com/delian/node-netflowv9/milestones/0.2.5","labels_url":"https://api.github.com/repos/delian/node-netflowv9/milestones/1/labels","id":1007618,"number":1,"title":"0.2.5","description":null,"creator":{"login":"delian","id":113510,"avatar_url":"https://avatars.githubusercontent.com/u/113510?v=3","gravatar_id":"","url":"https://api.github.com/users/delian","html_url":"https://github.com/delian","followers_url":"https://api.github.com/users/delian/followers","following_url":"https://api.github.com/users/delian/following{/other_user}","gists_url":"https://api.github.com/users/delian/gists{/gist_id}","starred_url":"https://api.github.com/users/delian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delian/subscriptions","organizations_url":"https://api.github.com/users/delian/orgs","repos_url":"https://api.github.com/users/delian/repos","events_url":"https://api.github.com/users/delian/events{/privacy}","received_events_url":"https://api.github.com/users/delian/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-03-05T14:20:40Z","updated_at":"2015-03-22T10:38:54Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-02-20T08:31:37Z","updated_at":"2015-03-22T10:38:54Z","closed_at":"2015-03-22T10:38:54Z","body":"Dear all,\r\n\r\nthank you for building such a great tool - it helps me do my job pretty better ;-)\r\n\r\nWe have several Cisco ASA Firewalls with the following firmware-levels:\r\nASA 5545 - Version 9.1(3)\r\nASA 5520 - Version 8.4(4)9\r\nASA 5520 - Version 9.1(4)\r\n\r\nOn all Firewalls I'm suffering with the same issue, I can not see how many bytes are transferred.\r\n\r\nThe code I'm using is pretty straightforward - so I don't think I made a mistake here - but to make sure...\r\n\r\n```\r\nvar Collector = require('node-netflowv9');\r\nCollector(function(flow) {\r\nObject.keys(flow.flows).forEach(function(flow_nr){\r\nif (flow.flows[flow_nr].ipv4_src_addr) console.log(\"Source: \"+flow.flows[flow_nr].ipv4_src_addr + \"\\tDestination: \"+flow.flows[flow_nr].ipv4_dst_addr + \" \\tProtocol: \" + flow.flows[flow_nr].protocol + \" \\tsrc-port: \" + flow.flows[flow_nr].l4_src_port + \" \\tdst-port: \" + flow.flows[flow_nr].l4_dst_port + \" \\tbytes: \" + flow.flows[flow_nr].in_bytes)\r\n})\r\n}).listen(25560);\r\n\r\n```\r\nAn (anonymous/shortend) example of a flow. \r\n```\r\n{ header:\r\n   { version: 9,\r\n     count: 17,\r\n     uptime: 3106950079,\r\n     seconds: 1424420284,\r\n     sequence: 369182748,\r\n     sourceId: 0 },\r\n  flows:\r\n   [ { flowId: 4031249624,\r\n       ipv4_src_addr: '1.2.3.4',\r\n       l4_src_port: 41934,\r\n       input_snmp: 4,\r\n       ipv4_dst_addr: '1.2.3.4',\r\n       l4_dst_port: 53,\r\n       output_snmp: 3,\r\n       protocol: 17,\r\n       icmpTypeIPv4: 0,\r\n       icmpCodeIPv4: 0,\r\n       postNATSourceIPv4Address: '1.2.3.4',\r\n       postNATDestinationIPv4Address: '1.2.3.4',\r\n       postNAPTSourceTransportPort: 41934,\r\n       postNAPTDestinationTransportPort: 53,\r\n       firewallEvent: 2,\r\n       unknown_type_33002: '07e1',\r\n       observationTimeMilliseconds: 1424420284201,\r\n       initiatorOctets: 123,\r\n       responderOctets: 320,\r\n       flowStartMilliseconds: 1424420284161,\r\n       fsId: 263 },\r\n     { ipv4_src_addr: '1.2.3.4',\r\n       l4_src_port: 57553,\r\n       input_snmp: 27,\r\n       ipv4_dst_addr: '1.2.3.4',\r\n       l4_dst_port: 139,\r\n       output_snmp: 4,\r\n       protocol: 6,\r\n       icmpTypeIPv4: 0,\r\n       icmpCodeIPv4: 0,\r\n       postNATSourceIPv4Address: '1.2.3.4',\r\n       postNATDestinationIPv4Address: '1.2.3.4',\r\n       postNAPTSourceTransportPort: 57553,\r\n       postNAPTDestinationTransportPort: 139,\r\n       firewallEvent: 3,\r\n       unknown_type_33002: '03e9',\r\n       observationTimeMilliseconds: 1424420284201,\r\n       unknown_type_33000: '818dd109aea26e3700000000',\r\n       unknown_type_33001: '000000000000000000000000',\r\n       fsId: 260 },\r\n```\r\n\r\nWith the mentioned code above my output looks like:\r\n```\r\nSource: 1.2.3.4    Destination: 1.2.3.4      Protocol: 17    src-port: 46083         dst-port: 53    bytes: undefined\r\n```\r\n\r\nDo you got an idea, how I can get to the bytes?\r\n\r\n\r\nThank you in advance.\r\n\r\n\r\nBjörn"}}