Documentation ¶
Index ¶
Constants ¶
View Source
const ( RFC3164 = "rfc3164" RFC5424 = "rfc5424" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶ added in v0.53.0
type BaseConfig struct { Protocol string `mapstructure:"protocol,omitempty" json:"protocol,omitempty" yaml:"protocol,omitempty"` Location string `mapstructure:"location,omitempty" json:"location,omitempty" yaml:"location,omitempty"` }
BaseConfig is the detailed configuration of a syslog parser.
type Case ¶
func CreateCases ¶
type Config ¶ added in v0.53.0
type Config struct { helper.ParserConfig `mapstructure:",squash" yaml:",inline"` BaseConfig `mapstructure:",squash" yaml:",inline"` }
Config is the configuration of a syslog parser operator.
func NewConfig ¶ added in v0.53.0
func NewConfig() *Config
NewConfig creates a new syslog parser config with default values
func NewConfigWithID ¶ added in v0.59.0
NewConfigWithID creates a new syslog parser config with default values
type Parser ¶ added in v0.53.0
type Parser struct { helper.ParserOperator // contains filtered or unexported fields }
Parser is an operator that parses syslog.
Click to show internal directories.
Click to hide internal directories.