# Filebeat cannot send to Amazon ElasticSearch Service

**URL:** https://discuss.elastic.co/t/filebeat-cannot-send-to-amazon-elasticsearch-service/94786
**Category:** Beats
**Tags:** filebeat
**Created:** [July 27, 2017, 12:30pm UTC](https://discuss.elastic.co/t/filebeat-cannot-send-to-amazon-elasticsearch-service/94786 "2017-07-27T12:30:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ssmishra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@ssmishra](https://discuss.elastic.co/u/ssmishra)
#### Post date: [July 27, 2017, 12:30pm UTC](https://discuss.elastic.co/t/filebeat-cannot-send-to-amazon-elasticsearch-service/94786/1 "2017-07-27T12:30:28Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 24, 2017, 12:30pm UTC](https://discuss.elastic.co/t/filebeat-cannot-send-to-amazon-elasticsearch-service/94786/2 "2017-08-24T12:30:36Z")

</div>

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