Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a factory for journald receiver
Types ¶
type JournaldConfig ¶
type JournaldConfig struct { stanza.BaseConfig `mapstructure:",squash"` Input stanza.InputConfig `mapstructure:",remain"` }
JournaldConfig defines configuration for the journald receiver
type ReceiverType ¶
type ReceiverType struct{}
ReceiverType implements stanza.LogReceiverType to create a journald receiver
func (ReceiverType) BaseConfig ¶
func (f ReceiverType) BaseConfig(cfg config.Receiver) stanza.BaseConfig
BaseConfig gets the base config from config, for now
func (ReceiverType) CreateDefaultConfig ¶
func (f ReceiverType) CreateDefaultConfig() config.Receiver
CreateDefaultConfig creates a config with type and version
func (ReceiverType) DecodeInputConfig ¶
DecodeInputConfig unmarshals the input operator
Click to show internal directories.
Click to hide internal directories.