# Logstash to elasticsearch logs forwarding

**URL:** https://discuss.elastic.co/t/logstash-to-elasticsearch-logs-forwarding/159980
**Category:** Logstash
**Created:** [December 7, 2018, 10:08pm UTC](https://discuss.elastic.co/t/logstash-to-elasticsearch-logs-forwarding/159980 "2018-12-07T22:08:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![syedashraf](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@syedashraf](https://discuss.elastic.co/u/syedashraf)
#### Post date: [December 7, 2018, 10:08pm UTC](https://discuss.elastic.co/t/logstash-to-elasticsearch-logs-forwarding/159980/1 "2018-12-07T22:08:50Z")

</div>

Hello,  
I am new to Elasticsearch. I've a simple 2 VM topology.

VM1 running logstash 6.5.2 and VM2 running elasticsearch 6.5.1. Installation packages successfully installed and services running.

How do I setup config to forward logs from VM1 to VM2?

Thanks,  
Syed

---

<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: [January 4, 2019, 10:09pm UTC](https://discuss.elastic.co/t/logstash-to-elasticsearch-logs-forwarding/159980/2 "2019-01-04T22:09:42Z")

</div>

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