set index for elasticsearch in config