setting config files for elasticsearch