Add bulk migrations UI#224334
Merged
Supplementing merged 12 commits intoelastic:mainfrom Jun 23, 2025
Merged
Conversation
Merged
7 tasks
Supplementing
added a commit
that referenced
this pull request
Jun 18, 2025
…lk migration API (#224143) ## Summary Closes elastic/ingest-dev#5694 - Adds a feature flag gate for the `single` agent migration UI and API - Also gates the bulk migrate `endpoint`, UI will be gated separately as part of #224334 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks N/A --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Contributor
|
Pinging @elastic/fleet (Team:Fleet) |
Contributor
Author
|
@elasticmachine merge upstream |
...applications/fleet/sections/agents/agent_list_page/components/migrate_agent_flyout/index.tsx
Outdated
Show resolved
Hide resolved
...applications/fleet/sections/agents/agent_list_page/components/migrate_agent_flyout/index.tsx
Outdated
Show resolved
Hide resolved
...applications/fleet/sections/agents/agent_list_page/components/migrate_agent_flyout/index.tsx
Outdated
Show resolved
Hide resolved
...applications/fleet/sections/agents/agent_list_page/components/migrate_agent_flyout/index.tsx
Show resolved
Hide resolved
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
colleenmcginnis
left a comment
There was a problem hiding this comment.
A couple minor suggestions below.
...applications/fleet/sections/agents/agent_list_page/components/migrate_agent_flyout/index.tsx
Outdated
Show resolved
Hide resolved
...applications/fleet/sections/agents/agent_list_page/components/migrate_agent_flyout/index.tsx
Outdated
Show resolved
Hide resolved
Changed verbiage Co-authored-by: Colleen McGinnis <colleen.j.mcginnis@gmail.com>
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest FailuresMetrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
|
7 tasks
akowalska622
pushed a commit
to akowalska622/kibana
that referenced
this pull request
Jun 25, 2025
## Summary Closes elastic#217619 Closes elastic/ingest-dev#5695 Adds 'Migrate X Agents' option to the bulk actions on the agents table - Reuses the existing migrateAgentFlyout component with some adjustments for single vs bulk agents - Added a panel to show if the user selects some protected or fleet-server agents alerting them that they will not be able to migrate those agents and they will be omitted. - Added conditional rendering of the `replace token` switch, as per the requirements, its only allowed for single agent migrations. - Also adds feature flag gate to UI (API gate was added in elastic#224143) https://github.com/user-attachments/assets/7f50168a-a388-4274-b8c8-aa0ce38591ed ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks N/A # Release Note - Added the ability to migrate bulk agents to another cluster via the bulk actions menu of the agent list table (experimental). --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Colleen McGinnis <colleen.j.mcginnis@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #217619
Closes https://github.com/elastic/ingest-dev/issues/5695
Adds 'Migrate X Agents' option to the bulk actions on the agents table
replace tokenswitch, as per the requirements, its only allowed for single agent migrations.Screen.Recording.2025-06-18.at.1.37.38.PM.mov
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:breakinglabel should be applied in these situations.release_note:*label is applied per the guidelinesIdentify risks
N/A
Release Note