added default hostname and port number for elasticsearch