Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Mode string `long:"mode" description:"Syslog mode. Supported values are rfc3164 and rfc5424"` ProcessList string `` /* 130-byte string literal not displayed */ NumParsers int `hidden:"true" description:"number of parsers to spin up"` }
Options defines the options relevant to the syslog parser
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser implements the Parser interface
type SyslogLineParser ¶
type SyslogLineParser struct {
// contains filtered or unexported fields
}
func NewSyslogLineParser ¶
func NewSyslogLineParser(mode string, processList string) (*SyslogLineParser, error)
NewSyslogLineParser factory
Click to show internal directories.
Click to hide internal directories.