read elasticsearch url from attributes