Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JournaldInput ¶
type JournaldInput struct { helper.InputOperator // contains filtered or unexported fields }
JournaldInput is an operator that process logs using journald
func (*JournaldInput) Start ¶
func (operator *JournaldInput) Start() error
Start will start generating log entries.
func (*JournaldInput) Stop ¶
func (operator *JournaldInput) Stop() error
Stop will stop generating logs.
type JournaldInputConfig ¶
type JournaldInputConfig struct { helper.InputConfig `yaml:",inline"` Directory *string `json:"directory,omitempty" yaml:"directory,omitempty"` Files []string `json:"files,omitempty" yaml:"files,omitempty"` StartAt string `json:"start_at,omitempty" yaml:"start_at,omitempty"` }
JournaldInputConfig is the configuration of a journald input operator
func NewJournaldInputConfig ¶
func NewJournaldInputConfig(operatorID string) *JournaldInputConfig
func (JournaldInputConfig) Build ¶
func (c JournaldInputConfig) Build(buildContext operator.BuildContext) (operator.Operator, error)
Build will build a journald input operator from the supplied configuration
Click to show internal directories.
Click to hide internal directories.