Upload data using machine learning option

I try to upload about 120.000 rows with about 100 columns to elasticsearch using machine learning in kibana website but only ~8000 can load. I changed "Number of lines to sample" to max but it didn't help me. What should I do?
I'm waiting for you response.

@Robert_Oskamp - can you please throw some light here? I tried a smaller file, it worked seamlessly. Thanks, Rashmi

@Leks - where exactly does the process actually fail?

There is a 100MB limit on the file size one can upload, by the way.

I try to explain, I can send data to elasticsearch from logstash, but when I want to use "Machine Learning" to do this it doesn't work. File's got 20 MB so it's small.