Exemple #1
0
func main() {
	beat.Run(Name, Version, filebeat.New())
}
Exemple #2
0
func main() {
	if err := beat.Run(Name, "", beater.New()); err != nil {
		os.Exit(1)
	}
}
Exemple #3
0
func main() {
	beat.Run(mock.Name, mock.Version, &mock.Mockbeat{})
}
Exemple #4
0
// Setups and Runs Packetbeat
func main() {
	beat.Run(Name, Version, packetbeat.New())
}
Exemple #5
0
func main() {
	beat.Run(Name, Version, pingbeat.New())
}