# Standard "Filebeat won't send to Logstash" question

**URL:** <https://discuss.elastic.co/t/standard-filebeat-wont-send-to-logstash-question/127165>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 7, 2018, 2:48pm UTC](https://discuss.elastic.co/t/standard-filebeat-wont-send-to-logstash-question/127165 "2018-04-07T14:48:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![snowy](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@snowy](https://discuss.elastic.co/u/snowy)\
**Post date:** [April 7, 2018, 2:48pm UTC](https://discuss.elastic.co/t/standard-filebeat-wont-send-to-logstash-question/127165/1 "2018-04-07T14:48:01Z")

</div>

I can't seem to find any hint in my logs that Filebeats is even trying to send the logs. This is version 6.2.3.

```
#=========================== Filebeat prospectors =============================

filebeat.prospectors:

# Each - is a prospector. Most options can be set at the prospector level, so
# you can use different prospectors for various configurations.
# Below are the prospector specific configurations.

- type: log

  # Change to true to enable this prospector configuration.
  enabled: false

  # Paths that should be crawled and fetched. Glob based paths.
  paths:
    - /var/log/suricata/eve.json
    - /var/log/*.log
    #- c:\programdata\elasticsearch\logs\*

```

My logstash does seem to accept data from 1.2.3 but I upgraded to 6.2.3 and can't send anymore.

```
output.elasticsearch:
  hosts: ["192.168.1.42:9200"]
```

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [April 9, 2018, 5:48am UTC](https://discuss.elastic.co/t/standard-filebeat-wont-send-to-logstash-question/127165/2 "2018-04-09T05:48:31Z")

</div>

You have the Elasticsearch output enabled. To send to LS you must enabled the Logstash output.

---

<div class="post-metadata">

**Author:** ![jawad846](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@jawad846](https://discuss.elastic.co/u/jawad846)\
**Post date:** [April 10, 2018, 1:39pm UTC](https://discuss.elastic.co/t/standard-filebeat-wont-send-to-logstash-question/127165/3 "2018-04-10T13:39:40Z")

</div>

**filebeat not forwarding logs to logstash**

Please give me the solution for forwarding the log to logstash from filebeat, were the filebeat and logstash are in different VM

am getting the error of :  
2018-04-10T11:39:05.750Z ERROR pipeline/output.go:74 Failed to connect: dial tcp 192.168.2.5:5044: getsockopt: connection refused

I just want to use the only filebeat and logstash.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [April 11, 2018, 6:54am UTC](https://discuss.elastic.co/t/standard-filebeat-wont-send-to-logstash-question/127165/4 "2018-04-11T06:54:05Z")

</div>

Here you find details on how to setup Logstash output for Filebeat: [https://www.elastic.co/guide/en/beats/filebeat/current/config-filebeat-logstash.html](https://www.elastic.co/guide/en/beats/filebeat/current/config-filebeat-logstash.html)

Running `filebeat test output` should give you some more info on what is not setup correctly.

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [April 11, 2018, 11:08am UTC](https://discuss.elastic.co/t/standard-filebeat-wont-send-to-logstash-question/127165/5 "2018-04-11T11:08:23Z")

</div>

Hi snowy,

please set below parameter as "TRUE" and restart your filebeat and check.

> Change to true to enable this prospector configuration.  
> enabled: true

Thanks,  
Harsh Bajaj

---

<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 9, 2018, 11:08am UTC](https://discuss.elastic.co/t/standard-filebeat-wont-send-to-logstash-question/127165/6 "2018-05-09T11:08:36Z")

</div>

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