I am trying to setup filebeat, but it not harvesting logs at all from the given log file path.
After lot of research, I came to know that data.json in registry folder is empty which is why filebeat is unable to read logs from log file.
Can someone please suggest how to fix this?
Note :- there is no error in filebeat logs saying permission denied to write into data.json
filebeat.yml
filebeat.inputs:
- type: log
enabled: true
paths:
- /home/mahesh/Documents/refactor/nomi/unity/media/*.log
output.logstash:
enabled: true
hosts: ["localhost:5044"]