I have a problem whenever i try to install the agent to some of my Ubuntu servers I get this error :
Error: unknown flag: --fleet-server-client-auth
What is the full command you are trying? Perhaps there is an extra space there?
The flag itself seems correct: Elastic Agent command reference | Fleet and Elastic Agent Guide [8.15] | Elastic
many thanks, i have solved it as there was some of old logs need to be deleted.
I just installed the elastic client 8.14.3 in a brand new Debian server using the command below and I got the same error unknown flag: --fleet-server-client-auth
sudo ./elastic-agent install --url=https://my_url:443 --enrollment-token=my_token