Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyslogInput ¶
type SyslogInput struct { helper.InputOperator // contains filtered or unexported fields }
SyslogInput is an operator that listens for log entries over tcp.
func (*SyslogInput) SetOutputs ¶
func (t *SyslogInput) SetOutputs(operators []operator.Operator) error
SetOutputs will set the outputs of the internal syslog parser.
func (*SyslogInput) Start ¶
func (t *SyslogInput) Start(p operator.Persister) error
Start will start listening for log entries over tcp or udp.
func (*SyslogInput) Stop ¶
func (t *SyslogInput) Stop() error
Stop will stop listening for messages.
type SyslogInputConfig ¶
type SyslogInputConfig struct { helper.InputConfig `yaml:",inline"` syslog.SyslogBaseConfig `yaml:",inline"` Tcp *tcp.TCPBaseConfig `json:"tcp" yaml:"tcp"` Udp *udp.UDPBaseConfig `json:"udp" yaml:"udp"` }
func NewSyslogInputConfig ¶
func NewSyslogInputConfig(operatorID string) *SyslogInputConfig
func (SyslogInputConfig) Build ¶
func (c SyslogInputConfig) Build(logger *zap.SugaredLogger) (operator.Operator, error)
Click to show internal directories.
Click to hide internal directories.