goflow

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Captures Netflow v9 and feeds flows to the following segments. Currently, this segment only uses a limited subset of goflow2 functionality. If no configuration option is provided a sflow and a netflow collector will be started. netflowLagcy is also built in but currently not tested.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Goflow

type Goflow struct {
	segments.BaseSegment
	Listen  []url.URL // optional, default config value for this slice is "sflow://:6343,netflow://:2055"
	Workers uint64    // optional, amunt of workers to spawn for each endpoint, default is 1
	// contains filtered or unexported fields
}

func (Goflow) New

func (segment Goflow) New(config map[string]string) segments.Segment

func (*Goflow) Run

func (segment *Goflow) Run(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL