Skip to content

Commit 7976ced

Browse files
Add docs for 'delete unenrolled agents' (#1383) (#1399)
* Add docs for 'delete unenrolled agents' * Update docs/en/ingest-management/fleet/fleet-settings.asciidoc Co-authored-by: Julia Bardi <[email protected]> --------- Co-authored-by: Julia Bardi <[email protected]> (cherry picked from commit 2a9b034) Co-authored-by: David Kilfoyle <[email protected]>
1 parent fba8d94 commit 7976ced

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/en/ingest-management/fleet/fleet-settings.asciidoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,16 @@ in the agent policy.
132132

133133
You can specify a proxy server to be used in {fleet-server}, {agent} outputs, or for any agent binary download sources.
134134
For full details about proxy configuration refer to <<fleet-agent-proxy-support,Using a proxy server with {agent} and {fleet}>>.
135+
136+
[discrete]
137+
[[delete-unenrolled-agents-setting]]
138+
== Delete unenrolled agents
139+
140+
After an {agent} has been unenrolled in {fleet}, a number of documents about the agent are retained just in case the agent needs to be recovered at some point. You can choose to have all data related to an unenrolled agent deleted automatically.
141+
142+
Note that this option can also be enabled by adding the `xpack.fleet.enableDeleteUnenrolledAgents: true` setting to the {kibana-ref}/[{kib} settings file].
143+
144+
To enable automatic deletion of unenrolled agents:
145+
146+
. Go to **{fleet} -> Settings**.
147+
. Under **Advanced Settings**, enable the **Delete unenrolled agents** option.

0 commit comments

Comments
 (0)