Elastic-Agent Install Creating a ton of folders

I got the elastic-agent to enroll using the follow command

>elastic-agent enroll https://localhost:5601 bHRPdUlIWUJSMzJvZjZwSktjbzQ6QUY0SmpvNFZSY1MxMUZCSk82S3ZRQQ -a \\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\es_certs\_data\ca\ca.crt  --insecure

However if I try to install for the "Program Files" directory it never competes and I get nested folders containing the same data. I tried a few times every time the install was over 5 gigs. 3-6k worth of items. This is that my folder structure looks like after:

C:\Program Files\Elastic\Agent\Elastic\Agent\Elastic\Agent\Elastic\Agent

My install command:

.\elastic-agent.exe install -f --kibana-url=https://0:5601 --enrollment-token=bHRPdUlIWUJSMzJvZjZwSktjbzQ6QUY0SmpvNFZSY1MxMUZCSk82S3ZRQQ== -a \\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\es_certs\_data\ca\ca.crt

@cwobuzz What directory is the elastic-agent.exe located and where are you executing the .\elastic-agent.exe install command from?

The fix was to install the new Agent 7.10.1

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.