# Logstash to send logs to Elasticsearch on Prem

**URL:** <https://discuss.elastic.co/t/logstash-to-send-logs-to-elasticsearch-on-prem/172010>\
**Category:** Logstash\
**Created:** [March 12, 2019, 5:16pm UTC](https://discuss.elastic.co/t/logstash-to-send-logs-to-elasticsearch-on-prem/172010 "2019-03-12T17:16:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Habbiot](https://avatars.discourse-cdn.com/v4/letter/h/13edae/32.png) [@Habbiot](https://discuss.elastic.co/u/Habbiot)\
**Post date:** [March 12, 2019, 5:16pm UTC](https://discuss.elastic.co/t/logstash-to-send-logs-to-elasticsearch-on-prem/172010/1 "2019-03-12T17:16:14Z")

</div>

We have logstash on AWS and need to send the logs to ELK stack in our data center. How can i point the logstash to Elasticsearch on Prem ?

---

<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:** [April 9, 2019, 5:16pm UTC](https://discuss.elastic.co/t/logstash-to-send-logs-to-elasticsearch-on-prem/172010/2 "2019-04-09T17:16:17Z")

</div>

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