-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 not following symlinks as expected #3374
Comments
+1 For this request. I need to be able parse compressed log files (gzip) and this would be possible using the above I assume. |
Isn't this what Fluentd/fluent-bit are for? Promtail seems like a good starting place to slurp logs, but if you want to do processing on the data as it comes in then there are plenty of existing tools for that and we should be careful not to re-invent the wheel. Admittedly neither of them are able to parse compressed files, but it feels we should add the features to something like that rather than adding it to promtail? |
@proffalken thank you for your point of view. I understand that is not a need of reinventing the wheel or covering the same aspects with multiple options/similar tools, this is clear and no doubt there. However I don't need promtail for log processing or to use in complex ecosystems, it was a good fit for us due to the fact that is lightweight and we could integrate in a small RHEL OpenShift Container Platform (namespace) to collect logs from 1 application (backend/frontend) but he is not behaving well with symlinks and doesn't have the maturity or alternatives to file log path such as stdout, stderr, port. Why to use fluentbit/fluentd instead of using entire PLG Stack, reducing the complexity and being sure that the pieces integrates seamlessly. |
@fchiorascu that's fair enough, objection removed ;) |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Commenting to keep this open, I think it's a really useful addition to Loki/Promtail. |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
No thanks @stalebot - let's keep this one open... |
Please keep this one open. Much needed feature |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Very useful feature, reopen pls! |
Reopen please. |
Trying to understand this issue and it feels like it covers multiple topics. In regards to the symlinks not working, this sounds like a bug, we use symlinks all the time without issue, are you able to provide more context here? In regards to logs from stdout and stderr, promtail supports the |
Hi! This issue has been automatically marked as stale because it has not had any We use a stalebot among other tools to help manage the state of issues in this project. Stalebots are also emotionless and cruel and can close issues which are still very relevant. If this issue is important to you, please add a comment to keep it open. More importantly, please add a thumbs-up to the original issue entry. We regularly sort for closed issues which have a We may also:
We are doing our best to respond, organize, and prioritize all issues but it can be a challenging task, |
/keepalive |
Hi! This issue has been automatically marked as stale because it has not had any We use a stalebot among other tools to help manage the state of issues in this project. Stalebots are also emotionless and cruel and can close issues which are still very relevant. If this issue is important to you, please add a comment to keep it open. More importantly, please add a thumbs-up to the original issue entry. We regularly sort for closed issues which have a We may also:
We are doing our best to respond, organize, and prioritize all issues but it can be a challenging task, |
Bump |
Apparently, grafana/tail#12 solves this 👀 |
- This revendoring brings the fix to relative symlinks, as described in grafana#3374.
* Revendor grafana/tail. - This revendoring brings the fix to relative symlinks, as described in #3374. * Prune package from `go mod tidy`. * noop
Is your feature request related to a problem? Please describe.
Possibility to collect (tail) logs from stdout/stderr, port?
The current static_config uses path (log files) https://grafana.com/docs/loki/latest/clients/promtail/configuration/#static_configs that for
symlinks
is not working as expected.Using: PLG Stack
Grafana: 7.4.0
Loki: 2.1.0
Promtail: 2.1.0
Describe the solution you'd like
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: