Hi Everyone,
I'm trying to install an elastic agent and to enroll it with fleet.
The enrollment is working, I can see the agent on my fleet server but after few seconds it goes into the unhealthy state.
when I run elastic-agent status
this is the output:
Error: failed to communicate with Elastic Agent daemon: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix your_path_to_elastic_agent/data/tmp/elastic-agent-control.sock: connect: no such file or directory"
And indeed there is not file called elastic-agent-control.sock in that path.
Anyone has an idea why this file does not exist and how I can create it?
Thank you in advance