mirror of
https://github.com/netsampler/goflow2.git
synced 2024-05-06 15:54:52 +00:00
28 lines
699 B
YAML
28 lines
699 B
YAML
ipfix:
|
|
mapping:
|
|
- field: 7 # IPFIX_FIELD_sourceTransportPort
|
|
destination: CustomInteger1
|
|
- field: 11 # IPFIX_FIELD_destinationTransportPort
|
|
destination: CustomInteger2
|
|
# penprovided: false
|
|
# pen: 0
|
|
- field: 137
|
|
destination: CustomList_1
|
|
penprovided: true
|
|
pen: 2636
|
|
netflowv9:
|
|
mapping:
|
|
- field: 7
|
|
destination: CustomInteger1
|
|
- field: 11
|
|
destination: CustomInteger2
|
|
sflow:
|
|
mapping:
|
|
- layer: 4 # Layer 4: TCP or UDP
|
|
offset: 0 # Source port
|
|
length: 16 # 2 bytes
|
|
destination: CustomInteger1
|
|
- layer: 4
|
|
offset: 16 # Destination port
|
|
length: 16 # 2 bytes
|
|
destination: CustomInteger2 |