# Logstash doesn't send events to Elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-doesnt-send-events-to-elasticsearch/301887>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [April 7, 2022, 3:13pm UTC](https://discuss.elastic.co/t/logstash-doesnt-send-events-to-elasticsearch/301887 "2022-04-07T15:13:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denis\_Abreu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/denis_abreu/32/104123_2.png) [@Denis\_Abreu](https://discuss.elastic.co/u/Denis_Abreu)\
**Post date:** [April 7, 2022, 3:13pm UTC](https://discuss.elastic.co/t/logstash-doesnt-send-events-to-elasticsearch/301887/1 "2022-04-07T15:13:32Z")

</div>

Hi!

Could anyone tell me what could be wrong?  
I'm using ELK in Docker and trying to send Elastic log to itself via Filebeat \> Logstash

**filebeat.yml**

```auto
filebeat.config:
  modules:
    path: ${path.config}/modules.d/*.yml
    reload.enabled: false

filebeat.modules:
- module: elasticsearch
  server:
    enabled: true
    var.paths:
      - /usr/share/elasticsearch/logs/Zerum.log

#----------------------------- Logstash output --------------------------------
output.logstash:
  hosts: ["wda_log_indexer:5044"]

```

**logstash.yml**

```auto
http.host: 0.0.0.0
log.level: trace
monitoring.elasticsearch.hosts: http://data-master:9200
xpack.monitoring.enabled: false

```

Thank you all!!

---

<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:** [May 5, 2022, 3:13pm UTC](https://discuss.elastic.co/t/logstash-doesnt-send-events-to-elasticsearch/301887/2 "2022-05-05T15:13:38Z")

</div>

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