-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Migrate filebeat and metricbeat to the V2 agent specification file format #31900
Comments
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
There is a chance this overlaps with the work needed for #31901, ideally they can be done independently but we'll need to sync up first. |
I think it will make sense for @fearful-symmetry to take this over as it is linked strongly to #31901 |
Yah, still trying to figure out how to grapple with this. @cmacknz I assume the goal here is to treat the V2 config system as the "default" for how things work, meaning we make the beats backwards-compatible, and future V2 imputs need no config transformation to start with. I'm undecided on if we can/should "port" that transformation code/spec config into the beats, and have them basically apply the transformations once we get the config from agent. The alternative would be something more piecemeal with custom code for each beat. |
👍 Yes, we want to obsolete the V1 spec files and only use the V2 specs that do not allow transformations. |
As part of the V2 architecture changes the agent specification file format is being redesigned to remove automatic configuration transformations like
inject_stream_processor
.Both filebeat and metricbeat currently rely on a variety of configuration file transformations when run under agent which must be removed:
The scope of this issue is to move the logic for each of these configuration transformations into the beat itself when it detects it is being run under agent (for example, seeing the
-management.enabled
flag on the command line).Relates To:
This task is considered complete when a test exists proving that filebeat and metricbeat behave correctly when started using their V2 specification file. This includes but is not limited to testing that:
The text was updated successfully, but these errors were encountered: