Use lookup in elasticsearch queries for template variable


How can i achieve the same results as this blog post while using elasticsearch as the datasource?