Filebeat cannot send to Amazon ElasticSearch Service

I am trying to send log files using filebeat to Amazon elasticsearch service. The filebeat runs on amazon EC2 servers. I wanted to configure Amazon elasticsearch service with IAM user policies. In doing so, i get 403 forbidden error in filebeat.
Ip based policies does not work as the EC2 is in VPC and the IPs are not recognised by amazon elasticsearch access policies. I cannot assign the public IPs of the EC2 servers as they may change over time.
Is there a way to send logs using filebeat to amazon elasticsearch?

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