Configure elasticsearch via a hash

Change-Id: I70067e371d930dcecab6e85399465b4c3bf67ab2
Merge "Configure elasticsearch via a hash"