# How can i accelarete loading csv to logstash

**URL:** <https://discuss.elastic.co/t/how-can-i-accelarete-loading-csv-to-logstash/219643>\
**Category:** Logstash\
**Created:** [February 17, 2020, 2:48pm UTC](https://discuss.elastic.co/t/how-can-i-accelarete-loading-csv-to-logstash/219643 "2020-02-17T14:48:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samargh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samargh/32/70171_2.png) [@samargh](https://discuss.elastic.co/u/samargh)\
**Post date:** [February 17, 2020, 2:48pm UTC](https://discuss.elastic.co/t/how-can-i-accelarete-loading-csv-to-logstash/219643/1 "2020-02-17T14:48:38Z")

</div>

i have a csv file that contains 6 millions rows  
but it takes too much time to load  
i tried  
PUT /twitter/\_settings  
{  
"index" : {  
"number\_of\_replicas" : 0  
}  
}  
and even  
PUT /twitter/\_settings  
{  
"index" : {  
"refresh\_interval" : "-1"  
}  
}  
well it stopped adding new rows  
get /sub/\_count keeps showing the same number yet on my VM its loading the file

help !!!  
i tried to accelerate it but now i don't know the problem !!!

---

<div class="post-metadata">

**Author:** ![samargh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samargh/32/70171_2.png) [@samargh](https://discuss.elastic.co/u/samargh)\
**Post date:** [February 17, 2020, 2:52pm UTC](https://discuss.elastic.co/t/how-can-i-accelarete-loading-csv-to-logstash/219643/2 "2020-02-17T14:52:55Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-update-settings.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-update-settings.html)  
i used settings from this

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 16, 2020, 2:52pm UTC](https://discuss.elastic.co/t/how-can-i-accelarete-loading-csv-to-logstash/219643/3 "2020-03-16T14:52:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
