add support for elasticsearch cluster