syslogparser

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyslogParser

type SyslogParser struct {
	fbcontext.ContextAware
}

SyslogParser is a firebolt node for parsing syslog messages from bytes using Captainslog.

func (*SyslogParser) Process

func (s *SyslogParser) Process(event *firebolt.Event) (*firebolt.Event, error)

Process takes the inbound `msg`, which is a byte array, and parses a captainslog.SyslogMsg from it

func (*SyslogParser) Receive

func (s *SyslogParser) Receive(msg fbcontext.Message) error

Receive handles a message from another node or an external source

func (*SyslogParser) Setup

func (s *SyslogParser) Setup(config map[string]string) error

Setup is a no-op in syslogparser

func (*SyslogParser) Shutdown

func (s *SyslogParser) Shutdown() error

Shutdown is a no-op in syslogparser

Jump to

Keyboard shortcuts

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