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

--agents string required

Repeatable: pass --agents multiple times to supply more than one value

--dry-run
--include-inactive
When passing collectors by KQL query, also removes inactive collectors
--input-file string
path to a JSON file to use as command input
--no-validate
skip input validation and send the request as-is
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON