I am using fluent-bit version 1.4.6 and I am trying to collect logs from a tomcat/logs folder, but I receive:
[error] [input:tail:tail.0] read error, check permissions
These files inside the logs folder are all "rw-r-----" (640).
I tried to confirm whether it can read it at all by changing the permissions of a file inside the logs folder and it works, but that does not solve the overall problem.
My question is, is this something that should be set on the tomcat level or it can be done via fluent-bit? Can I start that as a different user?
Thanks in advance!