# Error: Failed to start Filebeat sends log files to Logstash or directly to Elasticsearch

**URL:** <https://discuss.elastic.co/t/error-failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/192106>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 24, 2019, 5:50pm UTC](https://discuss.elastic.co/t/error-failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/192106 "2019-07-24T17:50:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![justkind](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@justkind](https://discuss.elastic.co/u/justkind)\
**Post date:** [August 6, 2019, 3:21pm UTC](https://discuss.elastic.co/t/error-failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/192106/4 "2019-08-06T15:21:30Z")

</div>

Sorry to hear the issue is still there @Saber.Tala . Because filebeat is displaying errors that it does not know what files to watch, it leads me to believe that the error is in your filebeat.yml format.

Could you try modifying your filebeat.yml to match the default configuration?  
It also looks like you have a typo **"document\_typ"** instead of **"document\_type"** and also, I believe **document\_type** has been deprecated in Filebeat version 6.x and was used for the old filebeat.prospectors which have been replaced by inputs.  
Please try to remove document\_type, copy the same variables and order/formatting with dashes, so that "type" is at the top, "enabled" is below that, then "paths"

You can use this reference file to help, ctrl+f for "Filebeat inputs" to get to the input section:  
[https://www.elastic.co/guide/en/beats/filebeat/7.2/filebeat-reference-yml.html](https://www.elastic.co/guide/en/beats/filebeat/7.2/filebeat-reference-yml.html)

Similar issue here: [Filebeat file-god stopped and No modules or prospectors enabled and configuration reloading disabled](https://discuss.elastic.co/t/filebeat-file-god-stopped-and-no-modules-or-prospectors-enabled-and-configuration-reloading-disabled/129145/2)

Hope this fixes the issue

---

_[View the full topic](https://discuss.elastic.co/t/error-failed-to-start-filebeat-sends-log-files-to-logstash-or-directly-to-elasticsearch/192106)._
