beats: Index | Files

package beater

import ""


Package Files

acker.go channels.go filebeat.go signalwait.go

func New Uses

func New(b *beat.Beat, rawConfig *common.Config) (beat.Beater, error)

New creates a new Filebeat pointer instance.

type Filebeat Uses

type Filebeat struct {
    // contains filtered or unexported fields

Filebeat is a beater object. Contains all objects needed to run the beat

func (*Filebeat) Run Uses

func (fb *Filebeat) Run(b *beat.Beat) error

Run allows the beater to be run as a beat.

func (*Filebeat) Stop Uses

func (fb *Filebeat) Stop()

Stop is called on exit to stop the crawling, spooling and registration processes.

Package beater imports 25 packages (graph) and is imported by 85 packages. Updated 2019-12-07. Refresh now. Tools for package owners.