Filebeat log folder is not created anymore

I have installed filebeat 7.5.1 on a new server, and I realized that the folder in which I want filebeat to save his own logs is not created anymore. This was working in the previous version. I am doing something wrong or it is just a change of behaviour in the way filebeat is working?

I am configuring the log folder in filebeat.yml like this:

logging.level: warning
logging.to_files: true
logging.to_syslog: false
logging.metrics.period: 30s
  path: /var/log/filebeat
  name: filebeat.log
  rotateeverybytes: 10485760 # = 500MB
  keepfiles: 7
  permissions: 0644
logging.json: true

Actually, the problem was not the directory was not created, but there was a change in the way this is working. This fixed my problem

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