-
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
Loki Regular expression query ending up with error #3322
Comments
Doesn't really matter, Loki does not index everything what matter is your query selector which. You query is asking for everything except something job are "oc-app.....". Provide a better label matcher to halve the data Loki has to process to fulfill your request. Something like As you can see it resulted in 18GB of data to processed. The error message is because you reached a timeout.
Yeah that's a fair point, we're looking at streaming result for the roadmap.
There's no issue really here, you single node query did a good job of 400MB/s. |
I have got lots of job starting with lets say
my intent with the following expression was, find
And interestingly it is working like a charm. Just now I have tried it is working like a charm. if the following is not right approach
then please suggest right approach |
Note :Following is not working
|
following is working
However it is little slow compared to
|
|
Describe the bug
I am displaying loki logs in grafana, in the range of past two days
And getting the following error
There is hardly hundred lines matching the above criteria,
I see the following interesting in log file
Message in Grafana
Message in Loki
Expected behavior
Should display the logs inclemently, instead of trying to download entire GBs of data
Environment:
grafana/loki:2.1.0
Screenshots, Promtail config, or terminal output
If applicable, add any output to help explain your problem.
The text was updated successfully, but these errors were encountered: