-
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
Support duration days in LogQL filter #4706
Comments
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, |
Is someone working on this issue? If not I would like to pick it up |
Please ! |
@cyriltovena let me introduce @btaani is a member of my team. This is here first time with Loki here, but has served enough Elasticsearch battles for us. So welcome @btaani keep going, keep asking us anything. |
Currently we don't support
{app="foo"} | logfmt | length > 5d
but I think we should since this is supported in Prometheus and range vector selection.The change needs to happen here
loki/pkg/logql/lex.go
Line 224 in 5b9f5b9
We should try model.Duration from prometheus, and update all tests.
The text was updated successfully, but these errors were encountered: