make elasticsearch_ip optional