Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Maximum UDP packet size
MaxUDPSize = 64 * 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶ added in v0.53.0
type BaseConfig struct { ListenAddress string `mapstructure:"listen_address,omitempty"` AddAttributes bool `mapstructure:"add_attributes,omitempty"` Encoding helper.EncodingConfig `mapstructure:",squash,omitempty"` Multiline helper.MultilineConfig `mapstructure:"multiline,omitempty"` }
BaseConfig is the details configuration of a udp input operator.
type Config ¶ added in v0.53.0
type Config struct { helper.InputConfig `mapstructure:",squash"` BaseConfig `mapstructure:",squash"` }
Config is the configuration of a udp input operator.
func NewConfig ¶ added in v0.53.0
func NewConfig() *Config
NewConfig creates a new UDP input config with default values
func NewConfigWithID ¶ added in v0.59.0
NewConfigWithID creates a new UDP input config with default values
Click to show internal directories.
Click to hide internal directories.