add elasticsearch configuration to server