-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
caller=filetargetmanager.go:98 msg="WARNING!!! entry_parser config is deprecated, please change to pipeline_stages" #2577
Comments
There are a couple things happening here, one of which i'm quite sure is a regression, as I've also seen these warnings. However, the proper syntax should be to include an empty This should silence that warning however I suspect it might not as I mentioned I believe a bug has snuck in here. |
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. |
from what I see here https://github.com/grafana/loki/blob/master/pkg/promtail/targets/file/filetargetmanager.go#L91-L112 I think the issue is treating This happens in the case where both Expected behavior would be output this warning only if Not sure if it breaks any compatibility. WDYT? @slim-bean @cyriltovena also related to #2631 |
I don't think this will cause compatibility issue. Alternatively if you can't make it a pointer you could also test if it's the default value. Either way both solution works for me. |
I think it's actually time to just remove support entirely for EntryParser. It's been deprecated for more than a year now. |
@kavirajk can you open a PR to remove it? |
@slim-bean sure! 👍 |
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. |
Thanks for the hints, I was away and couldn't respond. |
Greetings.
I've setup promtail for forwarding logs to Loki, relevant bits below -
When I start promtail service I see these warnings -
Please let me what I should change in promtail.yaml and fix these warnings.
The text was updated successfully, but these errors were encountered: