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

**URL:** https://discuss.elastic.co/t/how-to-send-filebeat-logs-baremetal-to-elasticsearch-aws/219902
**Category:** Beats
**Tags:** filebeat
**Created:** [February 19, 2020, 6:38am UTC](https://discuss.elastic.co/t/how-to-send-filebeat-logs-baremetal-to-elasticsearch-aws/219902 "2020-02-19T06:38:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anbunithi\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anbunithi_r/32/60217_2.png) [@anbunithi\_R](https://discuss.elastic.co/u/anbunithi_R)
#### Post date: [February 19, 2020, 6:38am UTC](https://discuss.elastic.co/t/how-to-send-filebeat-logs-baremetal-to-elasticsearch-aws/219902/1 "2020-02-19T06:38:08Z")

</div>

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.

output.elasticsearch:  
hosts: ["[http://myawsip:9200](http://myawsip:9200)"]

---

<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: [March 18, 2020, 6:46am UTC](https://discuss.elastic.co/t/how-to-send-filebeat-logs-baremetal-to-elasticsearch-aws/219902/2 "2020-03-18T06:46:24Z")

</div>

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