Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Beat ¶
type Beat struct {
Name string
Version string
Config *BeatConfig
BT Beater
Events publisher.Client
}
Basic beat information
func (*Beat) CommandLineSetup ¶
func (beat *Beat) CommandLineSetup()
Reads and parses the default command line params To set additional cmd line args use the beat.CmdLine type before calling the function
func (*Beat) LoadConfig ¶
func (b *Beat) LoadConfig()
LoadConfig inits the config file and reads the default config information into Beat.Config. It exists the processes in case of errors.
type BeatConfig ¶
type BeatConfig struct {
Output map[string]outputs.MothershipConfig
Logging logp.Logging
Shipper publisher.ShipperConfig
}
Basic configuration of every beat
Click to show internal directories.
Click to hide internal directories.