-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Meta] Remove Elastic Agent V1 control protocol #32
Comments
@pierrehilbert this is something you should read and take into consideration for the next upcoming releases. |
who;s in charge of |
That should be on data plane team @cmacknz its closely related to the libbeat changes. |
Yes, we can help with changing how the beats start up under agent. None of us are particularly familiar with how beats run under agent yet though, so if you can send us a detailed issue about what to change it would be greatly appreciated. The same for |
i can write something up about how config is loaded now and what needs to be changed tomorrow |
Beats behavior changeCurrentAt the moment we handle process as this:
cfg, err := cfgfile.Load("", settings.ConfigOverrides)
if err != nil {
return fmt.Errorf("error loading config file: %w", err)
}
// initialize config manager
b.Manager, err = management.Factory(b.Config.Management)(b.Config.Management, reload.Register, b.Beat.Info.ID)
if err != nil {
return err
}
Proposed
cfg, err := cfgfile.Load("", settings.ConfigOverrides)
if err != nil {
return fmt.Errorf("error loading config file: %w", err)
}
// initialize config manager
b.Manager, err = management.Factory(b.Config.Management)(b.Config.Management, reload.Register, b.Beat.Info.ID)
if err != nil {
return err
}
|
Thanks! I've created two issues to track the needed work in beats and updated this issue description to track them:
For migrating to the V2 specification file/removing config transformations I've only considered filebeat and metricbeat since those are the only beats we own. They are also probably the most work to port. |
@cmacknz AFAIK Auditbeat should behave the same as metricbeat I believe it inherit all the same runtime, we would need to solve it for packetbeat too. |
Issue to migrate libbeat to the V2 protocol: elastic/beats#32078 |
Now that the V2 protocol is out from 8.3 on, the V1 will not be updated and thus removed in a few releases. (Around end of 2022)
https://docs.google.com/document/d/1wqBWAhFdao93h2SE__koisuOOMGbwA5DTXDVFSKFYBs/edit
Parallel
Sequential
The text was updated successfully, but these errors were encountered: