Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1 KB

override-policy-settings.asciidoc

File metadata and controls

30 lines (24 loc) · 1 KB

Enable custom settings in an agent policy

In certain cases it can be useful to enable custom settings that are not available in {fleet}, and that override the default behavior for {agent}.

Warning
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 {agent}, so it is possible that certain custom configurations can result in breakages.

Configure the agent download timeout

You can configure the the amount of time that {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"
      }
    }
  }
}