Installed Elastic-Agent cannot be removed

I agree, it's not a great way.... but it is key to run the correct uninstall command because the Agent Gets installed in /opt/Elastic/Agent, so the uninstall needs to run from there... hopefully that makes sense...

if you try to run it from the directory that you untarred into that will not work for sure and leave you in an inconsistent state...

Similar situation here

1 Like