Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyslogParser ¶
type SyslogParser struct { helper.ParserOperator // contains filtered or unexported fields }
SyslogParser is an operator that parses syslog.
type SyslogParserConfig ¶
type SyslogParserConfig struct { helper.ParserConfig `yaml:",inline"` Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"` Location string `json:"location,omitempty" yaml:"location,omitempty"` }
SyslogParserConfig is the configuration of a syslog parser operator.
func NewSyslogParserConfig ¶
func NewSyslogParserConfig(operatorID string) *SyslogParserConfig
NewSyslogParserConfig creates a new syslog parser config with default values
func (SyslogParserConfig) Build ¶
func (c SyslogParserConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build a JSON parser operator.
Click to show internal directories.
Click to hide internal directories.