Enable custom settings in an agent policy
editEnable custom settings in an agent policy
editIn certain cases it can be useful to enable custom settings that are not available in Fleet, and that override the default behavior for Elastic Agent.
Use these custom settings with caution as they are intended for special cases. We do not test all possible combinations of settings which will be passed down to the components of Elastic Agent, so it is possible that certain custom configurations can result in breakages.
Configure the agent download timeout
editYou can configure the the amount of time that Elastic Agent waits for an upgrade package download to complete. This is useful in the case of a slow or intermittent network connection.
PUT kbn:/api/fleet/agent_policies/<policy-id> { "name": "Test policy", "namespace": "default", "overrides": { "agent": { "download": { "timeout": "120s" } } } }