# Filebeat is not returning data to logstash?

**URL:** <https://discuss.elastic.co/t/filebeat-is-not-returning-data-to-logstash/167866>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 11, 2019, 1:39pm UTC](https://discuss.elastic.co/t/filebeat-is-not-returning-data-to-logstash/167866 "2019-02-11T13:39:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [February 11, 2019, 1:39pm UTC](https://discuss.elastic.co/t/filebeat-is-not-returning-data-to-logstash/167866/1 "2019-02-11T13:39:49Z")

</div>

This is the error I'm getting.Actually I'm installed filebeat in windows server and then I have installed logstash in ubuntu and below is the corresponding conf file.

```
input {
    beats {
        port => "5044"
    }
}
output {
 stdout {
      codec => rubydebug
   }
}

```

Then I run the above mentioned conf file then below is the screen shot and I'm able to print the lines of the log file.

Thanks in Advance  
Kartheek

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d19287343f6119d4d1fec52ccecf5a40250dc8e5.jpeg)

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [February 11, 2019, 11:11pm UTC](https://discuss.elastic.co/t/filebeat-is-not-returning-data-to-logstash/167866/2 "2019-02-11T23:11:23Z")

</div>

Looking at the screenshot, I'm not seeing any errors in the Logstash logs. It looks like Logstash starts running the `main` pipeline and it spins up a server listening on port 5044.

Are you seeing any errors in your Filebeat log?

---

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [February 12, 2019, 7:47am UTC](https://discuss.elastic.co/t/filebeat-is-not-returning-data-to-logstash/167866/3 "2019-02-12T07:47:51Z")

</div>

No Kashyap

---

<div class="post-metadata">

**Author:** ![zaratustra689](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zaratustra689/32/43118_2.png) [@zaratustra689](https://discuss.elastic.co/u/zaratustra689)\
**Post date:** [February 12, 2019, 2:29pm UTC](https://discuss.elastic.co/t/filebeat-is-not-returning-data-to-logstash/167866/4 "2019-02-12T14:29:54Z")

</div>

Hi,

If you have installed logstash in other server, as you said, you need to configure filebeat to know to which logstash instance is going to communicate. That is, providing Logstash server ip to the filebeat yml config.  
As I can see in your picture, Logstash is prepared and listening to the port. But no data is being sent to Logstash server yet.

---

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [February 12, 2019, 2:35pm UTC](https://discuss.elastic.co/t/filebeat-is-not-returning-data-to-logstash/167866/5 "2019-02-12T14:35:54Z")

</div>

Actually filebeat i have installed in windows and logstash and elasticsearch in ubuntu machine.

---

<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 12, 2019, 2:35pm UTC](https://discuss.elastic.co/t/filebeat-is-not-returning-data-to-logstash/167866/6 "2019-03-12T14:35:54Z")

</div>

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