Filebeat is not logging logs from a path. Here is my filebeat config -
filebeat.inputs:
- type: log
enabled: true
paths:- /var/log/xyz/*/ *.log
input_type: log
json.keys_under_root: true
json.add_error_key: true
json.message_key: message
reload.enabled: false
setup.template.settings:
index.number_of_shards: 1
index.codec: best_compression
- /var/log/xyz/*/ *.log
Inside /var/log/xyz directory i have 2 folders which has the log files. For one directory logs are coming in to kibana but for other one it is not working.