Closed timansky closed 1 year ago
What is the version of grafana you use? Because in grafana v9.1.0-beta.1 I see this.
grafana v9.4.2:
Grafana v8.5.13, but i've tried latest 9.4.2 and result is same
loki
qryn
I don't know without looking into the logs you have.
Do you expose log levels as labels? Can you check {dc="alakt", level="error"}
in qryn? The volume chart does nothing but runs a query sum by (level) (count_over_time({dc="alakt"}[1m]))
. Please check it as well.
@timansky you need to parse the JSON logs or have the level tags in place for this to work and we don't know your data so we cannot guess if this is related. This said, the Grafana approach forcing parsing/display easily abuses the backend, which we do not necessarily like or approve of as a default behaviour.
My mistake, found miss config in log sending
There is a difference between loki and qryn query result when it is made in Grafana Explore. By default loki returns matrix, but qryn returns stream.
Matrix is used to visualise log volume by error level.
Matrix is already supported as i see in #18