func (nsp *NetworkSecurityProbe) startProcessors() error {
	// Register processors
	nsp.Processors = processor.RegisterProcessors(nsp.Config)
	// Start processors
	for _, p := range processor.ProcessorsList {
		if err := p.Start(nsp); err != nil {
			nspLogger.Errorf("failed to start processor \"%s\": %v", p.GetName(), err)
			return err
		}
	}
	nspLogger.Debugf("%v processor(s) started", len(nsp.Processors))
	return nil
}
// startProcessors - Starts event processors
Starts event processors
// startProcessors - Starts event processors
func (nsp *NetworkSecurityProbe) startProcessors() error {
	nsp.Processors = processor.RegisterProcessors(nsp.Config)
	for _, p := range processor.ProcessorsList {
		if err := p.Start(nsp); err != nil {
			nspLogger.Errorf("failed to start processor \"%s\": %v", p.GetName(), err)
			return err
		}
	}
	nspLogger.Debugf("%v processor(s) started", len(nsp.Processors))
	return nil
}
func ( nsp * NetworkSecurityProbe ) startProcessors ( ) error { nsp . Processors = processor . RegisterProcessors ( nsp . Config ) for _ , p := range processor . ProcessorsList { if err := p . Start ( nsp ) ; err != nil { nspLogger . Errorf ( " \" \" " , p . GetName ( ) , err ) return err } } nspLogger . Debugf ( " " , len ( nsp . Processors ) ) return nil }
Starts event processors
Starts event processors
// Register processors // Start processors