Filebeat logs

Hello,

In my filebeat configuration I have:

logging:

  to_syslog: true
  files:
    path: /var/log/filebeat
    name: myfilebeat
    rotateeverybytes: 10485760 # = 10MB
    keepfiles: 7
  level: info

However, I have no logs in /var/log/filebeat...
I created the filebeat folder , I tried to give temporary all the rights (777) in order to see that is not a rights problem, but it didn't worked...

How can I make filebeat write logs?

Note: I'm using filebeat on CentOS 6

Thank you!

Can you enable to_files? https://www.elastic.co/guide/en/beats/filebeat/current/configuration-logging.html

1 Like

Thank you!