Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to ship logs even after adding td-agent user to systemd-journal group #86

Closed
somasusr opened this issue Nov 20, 2020 · 2 comments

Comments

@somasusr
Copy link

Hi @errm we are facing issue in shipping logs from systemd. We have followed all the instructions and added "td-agent" user to "systemd-journal" group. Ours is Centos box and we have installed td-agent version 3 (td-agent.x86_64 3.8.0-0.el7). Looks like permission issue and when we add "td-agent" user to "root" group it works. Do we really need to provide root access to td-agent service for this plugin to work? Can you please help us in this?

Regards,
Sri Ramanathan

@errm
Copy link
Collaborator

errm commented Apr 20, 2021

What do the permissions on the files in /var/log/journal look like?

@somasusr
Copy link
Author

@errm We figured this and it worked after we set permission to "td-agent" user for "/var/log/journal". Thank you for your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants