Fix templating to get the name of nodes

This patch modifies the query used to get the name of Elasticsearch
instances.
1 file changed