Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
config.InternalConfig
Targets []string `toml:"targets"`
InitialPosition string `toml:"initial_position"`
FilterInclude []string `toml:"filter_include"`
FilterExclude []string `toml:"filter_exclude"`
MaxLines int `toml:"max_lines"`
MaxReadBytes config.Size `toml:"max_read_bytes"`
MaxLineLength int `toml:"max_line_length"`
MaxTargets int `toml:"max_targets"`
ContextBefore int `toml:"context_before"`
ContextAfter int `toml:"context_after"`
Encoding string `toml:"encoding"`
StateFile string `toml:"state_file"`
GatherTimeout config.Duration `toml:"gather_timeout"`
Match MatchCheck `toml:"match"`
// contains filtered or unexported fields
}
type LogfilePlugin ¶
type LogfilePlugin struct {
config.InternalConfig
Instances []*Instance `toml:"instances"`
}
func (*LogfilePlugin) GetInstances ¶
func (p *LogfilePlugin) GetInstances() []plugins.Instance
type MatchCheck ¶
Click to show internal directories.
Click to hide internal directories.