No log file created while debugging logs with filebeat 5

Hi Filebeat team ,

For filebeat 5 debugging logs file is not creating in define path. I m using OS linux.

logging.level: info
logging.to_files: true
logging.to_syslog: false
logging.files:
path: /var/log
name: mybeat.log
keepfiles: 7

Not sure what is doing wrong? even i check with so many blocks configuration is same.

I'm not able to reproduce your issue. Did you copy and paste

logging.level: warning
logging.to_files: true
logging.to_syslog: false
logging.files:
  path: /var/log/mybeat
  name: mybeat.log
  keepfiles: 7

from the Elastic doc?

https://www.elastic.co/guide/en/beats/filebeat/current/configuration-logging.html

When you ran ./filebeat, did you run it with "sudo"?

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