# Filebeat doesn't send logs to Logstash

**URL:** <https://discuss.elastic.co/t/filebeat-doesnt-send-logs-to-logstash/166940>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 4, 2019, 10:37am UTC](https://discuss.elastic.co/t/filebeat-doesnt-send-logs-to-logstash/166940 "2019-02-04T10:37:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KindTomato](https://avatars.discourse-cdn.com/v4/letter/k/f14d63/32.png) [@KindTomato](https://discuss.elastic.co/u/KindTomato)\
**Post date:** [February 4, 2019, 10:37am UTC](https://discuss.elastic.co/t/filebeat-doesnt-send-logs-to-logstash/166940/1 "2019-02-04T10:37:06Z")

</div>

Hey my filebeat stopped sending logs last friday and I'm wondering as to what reason is it:  
**journalctl -fu filebeat** -\> `ERROR Failed to connect to backoff(async(tcp://<logstash_ip>:5044)): dial tcp <logstash_ip>:5044: connect: connection refused`  
And my filebeat config is:

```
filebeat.inputs:
- type: log
  paths:
   - '/var/lib/docker/containers/*/*.log'
  json.message_key: log
  json.keys_under_root: true
logging.level: error
output.logstash:
  hosts: ["<logstash_ip>"]

```

`telnet <logstash_ip> 5044` or 8086 or 9200 all works and there is connection

Logstash as input has:

```
   input {
      beats {
        port => 5044
        client_inactivity_timeout => 68000
      }
    }
```

---

<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 4, 2019, 10:37am UTC](https://discuss.elastic.co/t/filebeat-doesnt-send-logs-to-logstash/166940/2 "2019-03-04T10:37:17Z")

</div>

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