Hello,
Playing around with Elastic Cloud trial and noticed I have an Agent in Fleet which I cannot remove:
The offline agent seems to remain unselectable and offline. How can I remove it?
Grtz
Willem
it should disappear after a few hours, i think?
Under 7.13 unfortunately it can only be removed through an API call ( @nchaulet need your help on this one), in the upcoming 7.14 this agent with automatically disappear after a few minutes.
You could use the following call authenticated as a superuser to forceunenroll an agen.
curl 'https://{YOUR_KIBANA}/api/fleet/agents/{AGENT_ID}/unenroll' \
-H 'kbn-xsrf: xx' \
-H 'Content-type: application/json' \
--data-raw '{"force":true,"revoke":true}' \
--compressed
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.