Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filebeat ¶
Filebeat is a beater object. Contains all objects needed to run the beat
func (*Filebeat) Cleanup ¶
Cleanup removes any temporary files, data, or other items that were created by the Beat.
func (*Filebeat) Config ¶
Config setups up the filebeat configuration by fetch all additional config files
type Spooler ¶
type Spooler struct { Channel chan *input.FileEvent // Channel is the input to the Spooler. // contains filtered or unexported fields }
Spooler aggregates the events and sends the aggregated data to the publisher.
func NewSpooler ¶
func NewSpooler( config cfg.FilebeatConfig, publisher chan<- []*input.FileEvent, ) *Spooler
NewSpooler creates and returns a new Spooler. The returned Spooler must be started by calling Start before it can be used.
Click to show internal directories.
Click to hide internal directories.