I am trying to send my log messages to AWS Elastic search service which is resising in HTTPS. Below is the configuration I have given in filebeat:
Array of hosts to connect to.
Optional protocol and basic auth credentials.
But I am not able to send the messages and getting below error:
ERR Connecting error publishing events (retrying): Get https://XXXXXXXX.es.amazonaws.com:9200/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
As you could see, the ES port 9200 is getting added to URL, but actually the endpoint doesnt have the port..Please help