-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Migrate Agents from saved object to fleet server indices #87372
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
Does Kibana need access to all |
@aleksmaus I think this is part of what we talked about yesterday. @nchaulet As soon as it is ready / testable best ping Aleks so he can test it. |
Probably all of |
I added this issue to track migration to fleet server from a UX perspective #90156 |
Please keep @elastic/apm-server in the loop about when a switch to Fleet Server is recommended or even required. We have CI and dockerized dev setup which are relying on current Elastic Agent/Fleet enrollment. (elastic/apm-server#4650 and https://github.com/elastic/apm-integration-testing/blob/master/docker/apm-server/managed/main.go). |
@nchaulet As anything still pending here? |
No everything is done here |
Description
In the effort of moving the Elastic Agent call from Kibana to Fleet Server, we need to stop reading and writing from kibana saved object and use fleet server system indices instead
Prerequiste to complete the migration:
.fleet-*
indicesFirst step
While we do not have the correct permission and the system indices we can start to work on the migration, by using a custom kibana system user, and a feature flag.
Introduce a feature flag to start using fleet server indice
xpack.fleet.agents.fleetServerEnabled: true
If this flag is enabled we will use a different service that read and write for
.fleet-*
instead of saved object.Migration
During the plugin start we will transform all of the existing saved object to .fleet-* document, I discussed this kibana platform and it should work for us.
That draft PR show what it will look like #86179
Saved object call that should be migrated:
.fleet-agents
Second step
xpack.encryptedSavedObjects.encryptionKey
andfleet_enroll
userThe text was updated successfully, but these errors were encountered: