mirror of
https://github.com/openobserve/goflow2.git
synced 2025-11-02 13:03:18 +00:00
goflow2: add configuration example for sflow mapping (#224)
This commit is contained in:
@@ -24,6 +24,7 @@ formatter:
|
||||
- dst_mac
|
||||
# additional fields
|
||||
- icmp_name # virtual column
|
||||
- csum # udp checksum
|
||||
key:
|
||||
- sampler_address
|
||||
protobuf: # manual protobuf fields addition
|
||||
@@ -39,6 +40,9 @@ formatter:
|
||||
- name: egress_vrf_id
|
||||
index: 40
|
||||
type: varint
|
||||
- name: csum
|
||||
index: 999
|
||||
type: varint
|
||||
# Decoder mappings
|
||||
ipfix:
|
||||
mapping:
|
||||
@@ -58,4 +62,12 @@ netflowv9:
|
||||
- field: 61
|
||||
destination: flow_direction
|
||||
sflow:
|
||||
mapping: []
|
||||
mapping:
|
||||
- layer: "udp"
|
||||
offset: 48
|
||||
length: 16
|
||||
destination: csum
|
||||
- layer: "tcp"
|
||||
offset: 128
|
||||
length: 16
|
||||
destination: csum
|
||||
|
||||
Reference in New Issue
Block a user