# Logstash listening

**URL:** <https://discuss.elastic.co/t/logstash-listening/269063>\
**Category:** Logstash\
**Created:** [April 1, 2021, 5:06pm UTC](https://discuss.elastic.co/t/logstash-listening/269063 "2021-04-01T17:06:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nunex\_17](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@nunex\_17](https://discuss.elastic.co/u/nunex_17)\
**Post date:** [April 1, 2021, 5:06pm UTC](https://discuss.elastic.co/t/logstash-listening/269063/1 "2021-04-01T17:06:14Z")

</div>

Hi!

Assuming filebeat -\> ELK are on different machines.

On the filebeat output i have to specify the IP address of the Logstash host. However I can´t see any option to bind my server IP address to Logstash. All the tutorials show "localhost:5044", but my logstash is not on the same machine has filebeat.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 1, 2021, 5:08pm UTC](https://discuss.elastic.co/t/logstash-listening/269063/2 "2021-04-01T17:08:19Z")

</div>

The beats input has a [host](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html#plugins-inputs-beats-host) option. The default is 0.0.0.0, which is all the external IPs of your server.

---

<div class="post-metadata">

**Author:** ![nunex\_17](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@nunex\_17](https://discuss.elastic.co/u/nunex_17)\
**Post date:** [April 1, 2021, 5:19pm UTC](https://discuss.elastic.co/t/logstash-listening/269063/3 "2021-04-01T17:19:45Z")

</div>

So on the filebeat output i use the same IP as the beats input right?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 1, 2021, 5:28pm UTC](https://discuss.elastic.co/t/logstash-listening/269063/4 "2021-04-01T17:28:06Z")

</div>

No. In the output section of your filebeat.yml specify the IP address of the logstash server.

---

<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 29, 2021, 5:28pm UTC](https://discuss.elastic.co/t/logstash-listening/269063/5 "2021-04-29T17:28:12Z")

</div>

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