Skip to content

NetFlow-Writer Error  #13

Closed
Closed
@cherbold24

Description

@cherbold24

Didn't know if I should comment on the last issue reported or start a new one.
I have everything installed and pretty much working but I am not getting NetFlow data into the Dashboard. When looking at the Docker logs for netflow-writer I get the following logs as well as Template Sequence numbering issues.

2021-02-13 16:30:14.792 | ERR | [EXPORTERIPHERE] Error decoding v9 flow. Contents: {'IN_BYTES': 7200, 'OUT_BYTES': 7200, 'IN_PKTS': 120, 'OUT_PKTS': 120, 'FIRST_SWITCHED': 3363530250, 'LAST_SWITCHED': 3363590270, 'INPUT_SNMP': 0, 'OUTPUT_SNMP': 7, 'ICMP_TYPE': 2048, 'PROTOCOL': 1, 'APPLICATION_TAG': 368934934542806941696, 'UNKNOWN_FIELD_TYPE': 2, 'FORWARDING_STATUS': 64, 'IPV4_SRC_ADDR': 'SOURCEIPHERE', 'IPV4_DST_ADDR': 'DESTINATIONIPHERE'}
Traceback (most recent call last):
File "./netflowwriter.py", line 217, in _get_data
KeyError: 'L4_DST_PORT'

I assume it is some odd field that Fortinet has on it's netflows that is unable to be parsed but I am not a programmer. More than happy to help get you the information to help with this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions