# Error in initing input: No paths were defined for input accessing 'filebeat.inputs.0'

**URL:** <https://discuss.elastic.co/t/error-in-initing-input-no-paths-were-defined-for-input-accessing-filebeat-inputs-0/199260>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 12, 2019, 1:37pm UTC](https://discuss.elastic.co/t/error-in-initing-input-no-paths-were-defined-for-input-accessing-filebeat-inputs-0/199260 "2019-09-12T13:37:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naga\_Kodali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/naga_kodali/32/54082_2.png) [@Naga\_Kodali](https://discuss.elastic.co/u/Naga_Kodali)\
**Post date:** [September 12, 2019, 1:37pm UTC](https://discuss.elastic.co/t/error-in-initing-input-no-paths-were-defined-for-input-accessing-filebeat-inputs-0/199260/1 "2019-09-12T13:37:53Z")

</div>

I am trying to ship my server logs via filebeat v 6.8.3 and the ELK stack version is 6.6 .. I am facing difficulty in validating the config file. Below is my config file

filebeat.inputs:

- type: log  
enabled: true  
paths:
  - /home/deploy/logs/gameserver.log  
exclude\_files: [".gz"]

output.logstash:  
hosts: ["6080e3de-xxxxxxxxxxxxxxxxxxx-ls.logit.io:2xxxx"]  
loadbalance: true  
ssl.enabled: true

The command I use to validate is sudo filebeat -e -c /etc/filebeat/filebeat.yml

The output error is Exiting: Error in initing input: No paths were defined for input accessing 'filebeat.inputs.0' (source:'/etc/filebeat/filebeat.yml')

---

<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:** [October 10, 2019, 1:39pm UTC](https://discuss.elastic.co/t/error-in-initing-input-no-paths-were-defined-for-input-accessing-filebeat-inputs-0/199260/2 "2019-10-10T13:39:00Z")

</div>

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