Create agent policy
- Base URL
-
https://{kibana_url}
- POST /api/fleet/agent_policies
- POST /s/{space_id}/api/fleet/agent_policies
Refer to Spaces for more information.
Responses
OK
-
itemobject -
advanced_settingsobjectnullable -
Advanced settings stored in the agent policy, e.g. agent_limits_go_max_procs
-
is_protectedboolean -
Indicates whether the agent policy has tamper protection enabled. Default false.
-
keep_monitoring_alivebooleannullable -
When set to true, monitoring will be enabled but logs/metrics collection will be disabled
-
overridesobjectnullable -
Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure.
-
package_policiesobject -
This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter