Dashboard override labels of Prometheus data: regex, value transform?

Hi folks! I’m trying to figure out how to change a label in my graph’s legend from the Prometheus label to something more human-readable.

For example, for something labeled {environment="prod", eventId="114773997", instance="prometheus_otelcol_1:8889", job="nocap/api"} , I would rather just display the event name. I know that eventId matches to the name “BEAU”, and I don’t mind adding a new override every time we add a new event.

I’ve tried to add a regex as specified in the docs, but I’m missing something.
Thanks!

Looks like it’s simpler than I thought! I wound up using the built-in overrides.
image

I need exactly this but on more panels. Is there a way to centralise this kind of override?