Filebeat logs


(Veve90) #1

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!


(ruflin) #2

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


(Veve90) #3

Thank you!


(system) #4