Skip to content

Change IPFIX Json headers #105

Open
Open
@neotheonce

Description

@neotheonce

I am receiving flows in following format. Is it possible to change header names. Want to get rid of "@type": "ipfix.entry" and first entries like iana: , ipfix: Basically want to remove the PEN entry appended to every header.

{ "@type": "ipfix.entry", "iana:ingressInterface": 31, "iana:egressInterface": 0, "iana:flowStartMilliseconds": 1728563205563, "iana:flowEndMilliseconds": 1728563261529, "iana:packetDeltaCount": 1, "iana:octetDeltaCount": 79, "iana:flowId": 144629, "iana:ingressVRFID": 0, "iana:egressVRFID": 0, "iana:VRFname": "Default", "iana:sourceIPv4Address": "110.1291.51.214", "iana:destinationIPv4Address": "116.217.10.1", "iana:sourceTransportPort": 62076, "iana:destinationTransportPort": 53, "iana:applicationName": "Dns", "iana:ipClassOfService": 0, "iana:protocolIdentifier": "UDP", "iana:destinationIPv4Prefix": "0.0.0.0", "iana:destinationIPv4PrefixLength": 0, "iana:sourceIPv4Prefix": "101.159.0.1", "iana:sourceIPv4PrefixLength": 23, "ipfix:exportTime": 1728963261, "ipfix:seqNumber": 544786152, "ipfix:odid": 0, "ipfix:msgLength": 1312, "ipfix:srcAddr": "251.67.0.9", "ipfix:templateId": 514 }

--
Thanks
Neo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions