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"]
- /home/deploy/logs/gameserver.log
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')