add support for elasticsearch plugin