Please help me to resolve the below error. I have installed elastic agent in my linux server and trying to send logs to elastic.cloud. I am getting below error from linux machine.
2022-07-21T08:24:07.506Z ERROR fleet/fleet_gateway.go:205 Could not communicate with fleet-server Checking API will retry, error: fail to decode checkin response: unexpected EOF
Actual use case:
Enable syslog on fortinet firewall to send logs to linux_Serverare(port514) - Elastic Agent installed on Linux_server need to send the firewall logs to elastic.cloud