stack kb elastic-agent-actions post-fleet-agents-bulk-remove-collectors cli command
Auth required
elastic stack kb elastic-agent-actions post-fleet-agents-bulk-remove-collectors \
--agents <agents> \
[options]
Bulk remove OpAMP collectors
--agentsstringrequired-
Repeatable: pass
--agentsmultiple times to supply more than one value --dry-run--include-inactive- When passing collectors by KQL query, also removes inactive collectors
--input-filestring- path to a JSON file to use as command input
--json-
output as JSON