Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Manager.Start() and Manager.Stop() in the beat execution.
This move the Manager.Start and Stop into the Beats' run method, this move ensure that the system is configured and ready to receive events. Having the Manager started and stopped at the Libbeat level was causing inconsistency when configuring the Beats by the Elastic Agent. The problem would lead to the following behavior: - Zombie Beats with only outputs configured - Beats without any inputs configured - Beats with some of the input configured. The problem was often cause by restarting the agent and having the machine under a significant load. See: elastic/beats#30694 for details
- Loading branch information