beats: github.com/elastic/beats/filebeat/input/syslog Index | Files

package syslog

import "github.com/elastic/beats/filebeat/input/syslog"

Code generated by ragel DO NOT EDIT.

Index

Package Files

config.go event.go input.go parser.go

func NewInput Uses

func NewInput(
    cfg *common.Config,
    outlet channel.Connector,
    context input.Context,
) (input.Input, error)

NewInput creates a new syslog input

func Parse Uses

func Parse(data []byte, event *event)

Parse parses Syslog events.

type Input Uses

type Input struct {
    sync.Mutex
    // contains filtered or unexported fields
}

Input define a syslog input

func (*Input) Run Uses

func (p *Input) Run()

Run starts listening for Syslog events over the network.

func (*Input) Stop Uses

func (p *Input) Stop()

Stop stops the syslog input.

func (*Input) Wait Uses

func (p *Input) Wait()

Wait stops the syslog input.

Package syslog imports 17 packages (graph) and is imported by 11 packages. Updated 2019-08-16. Refresh now. Tools for package owners.