How to pass pod_name in pod_down alert message

I created the pod_down alert rule and this is my query:-

sum by(namespace,pod) (changes(kube_pod_status_ready{condition="true"}[5m]))

Here I have used this message template


this is not working

I want to pass pod_name into the alert message template.

pod= nginx-3453yws was down
environment = dev
namespace = default

summary = pod_down alert rule.

I want like this, so how to do it?

how to do it?