Hello Apoorvkapil ,
I believe you should be able to run filebeat with non-root user.
Please keep in mind that enable root user will bring extra risk, particularly when the gateway can be accessed from internet.
(there was a case, root user enabled in gateway on Azure, root user was locked due to 'someone' attempted to login as root, and failed too many times. The root user was not able to unlock due to Azure didn't allow direct access to GRUB. If you have to enable root user, you may think of key-based authentication)
Regards,
Mark