Adding config for elasticsearch