beater

package
v5.0.0-alpha3+incompat... Latest Latest
Warning

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

Go to latest
Published: May 31, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package beater provides the implementation of the libbeat Beater interface for Winlogbeat. The main event loop is implemented in this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Winlogbeat

type Winlogbeat struct {
	// contains filtered or unexported fields
}

Winlogbeat is used to conform to the beat interface

func New

func New() *Winlogbeat

New returns a new Winlogbeat.

func (*Winlogbeat) Cleanup

func (eb *Winlogbeat) Cleanup(b *beat.Beat) error

Cleanup attempts to remove any files or data it may have created which should not be persisted.

func (*Winlogbeat) Config

func (eb *Winlogbeat) Config(b *beat.Beat) error

Config sets up the necessary configuration to use the winlogbeat

func (*Winlogbeat) Run

func (eb *Winlogbeat) Run(b *beat.Beat) error

Run is used within the beats interface to execute the Winlogbeat workers.

func (*Winlogbeat) Setup

func (eb *Winlogbeat) Setup(b *beat.Beat) error

Setup uses the loaded config and creates necessary markers and environment settings to allow the beat to be used.

func (*Winlogbeat) Stop

func (eb *Winlogbeat) Stop()

Stop is used to tell the winlogbeat that it should cease executing.

Jump to

Keyboard shortcuts

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