Fix syntax error in elasticsearch.

I wasn't hitting this error because I always defined
elasticsearch_cluster_name.

Change-Id: I367f532a1476b2552744f1a0092285ffb9a2979e