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

Promtail: ACL config fails when double wildcards are used #314

Open
jonlarsdizparc opened this issue Jan 27, 2025 · 1 comment
Open

Promtail: ACL config fails when double wildcards are used #314

jonlarsdizparc opened this issue Jan 27, 2025 · 1 comment

Comments

@jonlarsdizparc
Copy link

When using double wildcards to access all files in all subdirectories, the following error is shown under the step Find all existing ACL log files:

[WARNING]: Skipped '/home/vnc/myapp/logs/**' path due to this access issue: '/home/vnc/myapp/logs/**' is not a directory

It works in promtail though, so no errors there.

@voidquark
Copy link
Collaborator

Yes, I believe this is not addressed as of now. I have a few solutions for you at this moment:

  • Change the runtime to root, which will skip ACL configuration and allow Promtail to run as root promtail_runtime_mode: "root"
  • I would also recommend to migrate to Alloy, if possible:Promtail is feature complete. All future feature development will occur in Grafana Alloy. - Source: https://grafana.com/docs/loki/latest/send-data/promtail/

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