stack kb elastic-agent-binary-download-sources post-fleet-agent-download-sources cli command
Auth required
elastic stack kb elastic-agent-binary-download-sources post-fleet-agent-download-sources \
--host <host> \
--name <name> \
[options]
Create an agent binary download source
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--hoststringrequired--namestringrequired--authstring--idstring--is-default--proxy-idstring- The ID of the proxy to use for this download source. See the proxies API for more information.
--reserve-diskspace- If
true, Elastic Agent reserves disk space equal to the size of the new agent package before an upgrade, so the upgrade fails early if there is not enough space. If not set, defaults totrueon the agent side. --secretsstring--sslstring--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--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