Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.MonitorConfig `acceptsEndpoints:"false"` // Paths to files to be tailed Files []string `yaml:"files" validate:"required"` // Method for watching changes to files ("ionotify" or "poll") WatchMethod string `yaml:"watchMethod" default:"poll"` // Indicates if the file is a named pipe Pipe bool `yaml:"pipe" default:"false"` // Whether to start tailing from the beginning of the file FromBeginning bool `yaml:"fromBeginning" default:"false"` // telegrafParser is a nested object that defines configurations for a Telegraf parser. // Please refer to the Telegraf documentation for more information on Telegraf parsers. TelegrafParser *parser.Config `yaml:"telegrafParser"` // contains filtered or unexported fields }
Config for this monitor
Click to show internal directories.
Click to hide internal directories.