I have a docker with xpac enabled. I documented what I did here:
https://github.com/cwobuzz/Setting-up-Docker-Elastic-Kibana-Running-Sysmon-And-Agent/blob/master/.README.md
I have agent successfully installed. However it will not send data into my elasticsearch. Fleet shows not data. I cannot find any documents on your site on how to fix this.
My command to install the agent is this
PS C:\Program Files\Elastic-Agent> .\elastic-agent.exe install -f --kibana-url=https://localhost:5601 --enrollment-token=bHRPdUlIWUJSMzJvZjZwSktjbzQ6QUY0SmpvNFZSY1MxMUZCSk82S3ZRQQ== -a \\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\es_certs\_data\ca\ca.crt -i
It returns successful.
My only clue of what could be happening is this:
{"log.level":"debug","@timestamp":"2020-12-22T15:18:54.462-0700","log.logger":"esclientleg","log.origin":{"file.name":"eslegclient/connection.go","file.line":290},"message":"ES Ping(url=https://localhost:9200)","ecs.version":"1.6.0"}
{"log.level":"debug","@timestamp":"2020-12-22T15:18:54.476-0700","log.logger":"esclientleg","log.origin":{"file.name":"eslegclient/connection.go","file.line":294},"message":"Ping request failed with: Get \"https://localhost:9200\": x509: certificate signed by unknown authority","ecs.version":"1.6.0"}
##Please help