2021-07-14T18:47:12.757-0300 DEBUG kibana/client.go:170 Request method: POST, path: /api/ingest_manager/fleet/agents/enroll
2021-07-14T18:47:12.775-0300 WARN [tls] tlscommon/tls_config.go:83 SSL/TLS verifications disabled.
fail to enroll: fail to execute request to Kibana: Status code: 404, Kibana returned an error: Not Found, message: Not Found
I'm having this error when trying to connect a windows agent to the fleet server, can someone help?
So the issue seems that you are using Kibana to enroll your Elastic Agent. This changed in 7.13 to use a new component called Fleet Server. See the release notes here for 7.13:
thanks for the answer!, i tried to install by fleet server on windows and the following error is displayed:
.\elastic-agent.exe install -f --url=https://xx.xx.xxx.160:5601 --enrollment-token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXcnhrdw== --insecure
The Elastic Agent is currently in BETA and should not be used in production
2021-07-21T12:02:23.757-0300 WARN [tls] tlscommon/tls_config.go:98 SSL/TLS verifications disabled.
Error: fail to enroll: fail to execute request to fleet-server: status code: 404, fleet-server returned an error: Not Found, message: Not Found
Error: enroll command failed with exit code: 1
PS C:\Users\xxxx\Downloads\elastic-agent-7.13.4-windows-x86_64\elastic-agent-7.13.4-windows-x86_64>
ps: I tried to install on linux (on the ELK server itself) and it worked, the agent was detected by the fleet server
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.