beater

package
v0.0.0-...-4c5a450 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New creates a new Varnishlogbeat.

Types

type Varnishlogbeat

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

Varnishlogbeat implements the Beater interface.

func (*Varnishlogbeat) Run

func (vb *Varnishlogbeat) Run(b *beat.Beat) error

Run opens a Varnish Shared Memory file and publishes log events.

func (*Varnishlogbeat) Stop

func (vb *Varnishlogbeat) Stop()

Stop stops processing Varnish events, closes the VSM and publisher client.

Jump to

Keyboard shortcuts

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