Filebeat configuration file permission


(sumit datta) #1

Hi all,
We are trying to configure filebeat to our openshift cluster. Filebeat configuration file will be directly taken from openshift persistence volume at the time of container creation and we don't have root privilege in our system. while creating the container its failing with this exception(Exiting: error loading config file: config file ("/usr/share/filebeat/filebeat.yml") must be owned by the beat user (uid=0) or root). Please help us to resolve this incidence.


(Steffen Siering) #2

As filebeat is run as root, it's a potential security issue that the config file is owned or editable by other users.

You can disable the check by adding the command line flag --strict.perms false when starting filebeat.


(system) #3

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