Unable to fetch data from elasticsearch for alerts

I am unable to get the field (hostname, message) from elasticsearch to grafana for setting up my alerts. I wanted to get hostname as well as event message in my alerts so that it will easy for me to identify errors. I have tried multiple ways to do the same For Example : adding variable for the same but it doesnt works. Help me with the stuff. I am sharing image for the alert which I am receiving as alerts fire ups

The above image shows how an alert is fired without the instance name and you can see in messge/descirption/ I have tried multiple ways to get it by providing different ways of naming it

I am also sharing you the data source inputs that I have configured