By default, we start Filebeat as the root user to be able to read all the logs generated by all application, but nothing prevents you from editing the startup scripts to make FB run as another user. You need to make sure the users/group have the right privileges to read and stat them.
With RHEL 6 you will be using SysV to start Filebeat. The init.d script sources /etc/sysconfig/filebeat if it exists so that you can set BEAT_USER in order to override the default value of root.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.