stack kb elastic-agents post-fleet-agents-bulk-migrate cli command
Auth required
elastic stack kb elastic-agents post-fleet-agents-bulk-migrate \
--agents <agents> \
--enrollment-token <enrollment-token> \
--uri <uri> \
[options]
Migrate multiple agents
--agentsstringrequired-
Repeatable: pass
--agentsmultiple times to supply more than one value --enrollment-tokenstringrequired--uristringrequired--batch-sizenumber--dry-run--settingsstring--input-filestring- path to a JSON file to use as command input
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON