new config for elasticsearch