Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogType = "log" StdinType = "stdin" RedisType = "redis" UdpType = "udp" DockerType = "docker" )
Contains available prospector types
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Forwarder ¶
type Forwarder struct {
Outlet Outlet
}
Forwarder contains shared options between all harvesters needed to forward events
func NewForwarder ¶
NewForwarder creates a new forwarder instances and initialises processors if configured
type ForwarderConfig ¶
type ForwarderConfig struct {
Type string `config:"type"`
}
ForwarderConfig contains all config options shared by all harvesters
type Harvester ¶
Harvester contains all methods which must be supported by each harvester so the registry can be used by the prospector.
type Registry ¶
Registry struct manages (start / stop) a list of harvesters
func (*Registry) WaitForCompletion ¶
func (r *Registry) WaitForCompletion()
WaitForCompletion can be used to wait until all harvesters are stopped
Directories ¶
Path | Synopsis |
---|---|
Package reader provides interface and struct to read messages and report them to a harvester The interface used is: type Reader interface { Next() (Message, error) } Each time Next is called on a reader, a Message object is returned.
|
Package reader provides interface and struct to read messages and report them to a harvester The interface used is: type Reader interface { Next() (Message, error) } Each time Next is called on a reader, a Message object is returned. |
Click to show internal directories.
Click to hide internal directories.