Hello everyone!
I run loki 3.3.0 and Grafana 11.3.1. My goal is to draw diagram with top 10 categories during last hour.
I use following query to select interesting messages:
{service=
I want to build a dashboard based on a field reason
that displays the frequency of occurrence of a particular cause in error messages during last hour.
This field contains only 1 word and there is a limited number of options ( ~7).
I try to use following:
sum by(instance) (count_over_time({service=
But unwrap works only with integers. How to apply the same to the string (reason field)?