Elastic agent not running

Hi,

I am facing the error

Error: failed to communicate with Elastic Agent daemon: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /run/elastic-agent.sock: connect: no such file or directory"

I am installing Elastic agent standalone not through fleet server to see the logs on to kibana. In the elastic-agent.yml. I put the correct username and password. Able to see the json output through curl command.

Please help me with this.

Hi @Akshay_Ranka,

Welcome to the community! What version of Elastic Agent are you installing? Are you following these instuctions?