Documentation
      ¶
    
    
  
    
  
    Index ¶
- func AddRecordValuesToTemplate(log *logrus.Entry, elements *[]entities.InfoElementWithValue) error
 - func SendTemplateRecordv4(log *logrus.Entry, exporter *ipfixExporter.ExportingProcess) (uint16, []entities.InfoElementWithValue, error)
 - func SendTemplateRecordv6(log *logrus.Entry, exporter *ipfixExporter.ExportingProcess) (uint16, []entities.InfoElementWithValue, error)
 - type DirectFLP
 - type GRPCPacketProto
 - type GRPCProto
 - type IPFIX
 - type JSONRecord
 - type KafkaProto
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRecordValuesToTemplate ¶ added in v0.2.4
func AddRecordValuesToTemplate(log *logrus.Entry, elements *[]entities.InfoElementWithValue) error
func SendTemplateRecordv4 ¶ added in v0.2.3
func SendTemplateRecordv4(log *logrus.Entry, exporter *ipfixExporter.ExportingProcess) (uint16, []entities.InfoElementWithValue, error)
func SendTemplateRecordv6 ¶ added in v0.2.3
func SendTemplateRecordv6(log *logrus.Entry, exporter *ipfixExporter.ExportingProcess) (uint16, []entities.InfoElementWithValue, error)
Types ¶
type DirectFLP ¶ added in v0.3.3
type DirectFLP struct {
	// contains filtered or unexported fields
}
    DirectFLP flow exporter
func StartDirectFLP ¶ added in v0.3.3
func (*DirectFLP) ExportFlows ¶ added in v0.3.3
ExportFlows accepts slices of *model.Record by its input channel, converts them to *pbflow.Records instances, and submits them to the collector.
func (*DirectFLP) ExportPackets ¶
func (d *DirectFLP) ExportPackets(input <-chan []*model.PacketRecord)
ExportPackets accepts slices of *model.PacketRecord by its input channel, converts them to *pbflow.Records instances, and submits them to the collector.
type GRPCPacketProto ¶
type GRPCPacketProto struct {
	// contains filtered or unexported fields
}
    func StartGRPCPacketSend ¶
func StartGRPCPacketSend(hostIP string, hostPort int) (*GRPCPacketProto, error)
func (*GRPCPacketProto) ExportGRPCPackets ¶
func (p *GRPCPacketProto) ExportGRPCPackets(in <-chan []*model.PacketRecord)
type GRPCProto ¶
type GRPCProto struct {
	// contains filtered or unexported fields
}
    GRPCProto flow exporter. Its ExportFlows method accepts slices of *model.Record by its input channel, converts them to *pbflow.Records instances, and submits them to the collector.
func StartGRPCProto ¶
func (*GRPCProto) ExportFlows ¶
ExportFlows accepts slices of *model.Record by its input channel, converts them to *pbflow.Records instances, and submits them to the collector.
type IPFIX ¶ added in v0.2.3
type IPFIX struct {
	// contains filtered or unexported fields
}
    func StartIPFIXExporter ¶ added in v0.2.3
Sends out Template record to the IPFIX collector
func (*IPFIX) ExportFlows ¶ added in v0.2.3
ExportFlows accepts slices of *model.Record by its input channel, converts them to IPFIX Records, and submits them to the collector.
type JSONRecord ¶ added in v0.1.1
type KafkaProto ¶ added in v0.2.1
KafkaProto exports flows over Kafka, encoded as a protobuf that is understandable by the Flowlogs-Pipeline collector
func (*KafkaProto) ExportFlows ¶ added in v0.2.1
func (kp *KafkaProto) ExportFlows(input <-chan []*model.Record)