mirror of
				https://github.com/openobserve/goflow2.git
				synced 2025-11-04 05:53:14 +00:00 
			
		
		
		
	Adding field names to allow ipfix yaml mapping field to parse
This commit is contained in:
		@@ -73,11 +73,11 @@ func MapCustom(flowMessage *flowmessage.FlowMessage, v []byte, destination strin
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type NetFlowMapField struct {
 | 
			
		||||
	PenProvided bool   `json:"penprovided"`
 | 
			
		||||
	Type        uint16 `json:"field"`
 | 
			
		||||
	Pen         uint32 `json:"pen"`
 | 
			
		||||
	PenProvided bool   `json:"penprovided" yaml:"penprovided"`
 | 
			
		||||
	Type        uint16 `json:"field" yaml:"field"`
 | 
			
		||||
	Pen         uint32 `json:"pen" yaml:"pen"`
 | 
			
		||||
 | 
			
		||||
	Destination string `json:"destination"`
 | 
			
		||||
	Destination string `json:"destination" yaml:"destination"`
 | 
			
		||||
	//DestinationLength uint8  `json:"dlen"` // could be used if populating a slice of uint16 that aren't in protobuf
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user