# Filebeat not connect with Logstash beat plugin

**URL:** <https://discuss.elastic.co/t/filebeat-not-connect-with-logstash-beat-plugin/354446>\
**Category:** Logstash\
**Created:** [February 29, 2024, 12:40pm UTC](https://discuss.elastic.co/t/filebeat-not-connect-with-logstash-beat-plugin/354446 "2024-02-29T12:40:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Lopez\_Gonzalez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pedro_lopez_gonzalez/32/131886_2.png) [@Pedro\_Lopez\_Gonzalez](https://discuss.elastic.co/u/Pedro_Lopez_Gonzalez)\
**Post date:** [February 29, 2024, 12:40pm UTC](https://discuss.elastic.co/t/filebeat-not-connect-with-logstash-beat-plugin/354446/1 "2024-02-29T12:40:40Z")

</div>

Hi all  
Im trying to send messages from filebeat to logstash, but the messages dont arrive.  
The ports is open.  
this is the config

> input {  
> beats {  
> client\_inactivity\_timeout =\> 3000  
> port =\> 5049  
> }  
> }

> output.logstash:  
> hosts: ["HOST:5049"]

> telnet HOST 5049  
> Trying 10....  
> Connected to HOST.  
> Escape character is '^]'.

any ideas?

Regards

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 29, 2024, 1:52pm UTC](https://discuss.elastic.co/t/filebeat-not-connect-with-logstash-beat-plugin/354446/2 "2024-02-29T13:52:41Z")

</div>

Hi @Pedro_Lopez_Gonzalez

How do you know filebeat is actually sending anything?

What Version are you on?

When you only supply snippets of the code, it is hard to help... because the issue could be elsewhere, so please share your entire filebeat.yml... and please use the `</>` button to format your code.

---

<div class="post-metadata">

**Author:** ![Pedro\_Lopez\_Gonzalez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pedro_lopez_gonzalez/32/131886_2.png) [@Pedro\_Lopez\_Gonzalez](https://discuss.elastic.co/u/Pedro_Lopez_Gonzalez)\
**Post date:** [February 29, 2024, 6:47pm UTC](https://discuss.elastic.co/t/filebeat-not-connect-with-logstash-beat-plugin/354446/3 "2024-02-29T18:47:34Z")

</div>

Thanks @stephenb

My problem was I didnt have enought permissions over the logs directory

Regards

---

<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 28, 2024, 6:47pm UTC](https://discuss.elastic.co/t/filebeat-not-connect-with-logstash-beat-plugin/354446/4 "2024-03-28T18:47:54Z")

</div>

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