Is there a way to use that named group in alert summary, description?
The way we can use values in other expressions of the alert expression, like {{ $values.B }}in my case gives me number of counted “player joined” occurrences.
here is my full query
count_over_time({compose_service="minecraft"} |= `joined the game` | regexp `.*:\s(?P<player>.*)\sjoined the game$` [5m])
Promtail was the answer. Not using alerting, but setting promtail to regex logs it pushes and add a label if something fits. Was surprise that just some cut down version of a code from stackoverflow worked straight away.
Heres promtail-config.yml with the pipeline_stages and regex and label assignment