I am executing the following query:
topk(5, max by (job) (max_over_time(
{job="myjob"}
| regexp "[^,],(?P<count>[^,]*),.*"
| unwrap count
[24h]
)))
This returns a job and a number. I am not interested in that number. I want to get the log line that contains the biggest count. How do I do that?