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
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?
Nope, still there:
I think it's because I removed the apm node at a certain point, only to re-add it later, as I discovered it's also required for fleet?
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
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
© 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.