Thanks bro @leandrojmp for your replay we finally solved.
However I have an issue related to connecting AWS Cloud Watch to my local Elasticsearch here is the question I asked Sending AWS Cloud Watch Logs to Elasticsearch still [Sending AWS Cloud Watch Logs to Elasticsearch]
can you also help me this question pls
thanks