Using Elasticsearch fields in alert notitification message

I’m using grafana 7.0.3. I want to detect if there are errors in Elasticsearch log, and include fields from Elasticsearch error documents to the alert notification message.

I’ve tried different syntaxes, like $status, {{status}} [[status]], but none worked, they are not substituted in the email message.

How can I add these fields correctly?