How to send filebeat logs (BareMetal) to elasticsearch (AWS)

I have my kubernetes cluster running o bare metal and am collecting logs using filebeat. Am already sending my fileabeat logs to elasticsearch (which is running locally ). Now i also want to send my filebeat logs to elasticsearch cloud (AWS ). So how to do the configuration to push logs to elasticseach (AWS)?

I have tried below configuration but not successful , can anyone suggest me right steps.

hosts: ["http://myawsip:9200"]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.