# Logstash hangs when uploading csv file

**URL:** <https://discuss.elastic.co/t/logstash-hangs-when-uploading-csv-file/46720>\
**Category:** Logstash\
**Created:** [April 7, 2016, 5:29pm UTC](https://discuss.elastic.co/t/logstash-hangs-when-uploading-csv-file/46720 "2016-04-07T17:29:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matts](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@matts](https://discuss.elastic.co/u/matts)\
**Post date:** [April 7, 2016, 5:29pm UTC](https://discuss.elastic.co/t/logstash-hangs-when-uploading-csv-file/46720/1 "2016-04-07T17:29:37Z")

</div>

I recently installed LogStash 2.3.0 for ElasticSearch 2.3.1 against java version "1.8.0\_73" on Windows 10 64-bit platform. Then tried running a LogStatsh CSV file upload that had about 200K lines. LogStash just hangs without throwing any errors. Any help would be appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 7, 2016, 5:52pm UTC](https://discuss.elastic.co/t/logstash-hangs-when-uploading-csv-file/46720/2 "2016-04-07T17:52:20Z")

</div>

Logstash is probably tailing the input file, i.e. waiting for additional input. Read about sincedb in the file input documentation and check the archives for additional threads on this topic. Also, make sure you adjust the file input's `ignore_older` option if the input file is older than 24 hours. Finally, start Logstash with `--verbose` to get more clues about what the file input is doing.

If neither of these suggestions help, please post your configuration and relevant logs.

---

<div class="post-metadata">

**Author:** ![matts](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@matts](https://discuss.elastic.co/u/matts)\
**Post date:** [April 7, 2016, 6:17pm UTC](https://discuss.elastic.co/t/logstash-hangs-when-uploading-csv-file/46720/3 "2016-04-07T18:17:16Z")

</div>

Thanks Magnus.. I found the ignore\_older option pretty useful. Added this to my conf file and the file started processing. I run into other warnings along the way (e.g. 'Missing or stray quote in line 1\>, :level=\>:warn'), but I guess these warnings are not too serious. Thanks for your help again!

---

<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:** [July 6, 2017, 5:03am UTC](https://discuss.elastic.co/t/logstash-hangs-when-uploading-csv-file/46720/4 "2017-07-06T05:03:13Z")

</div>

Closed on July 6, 2017, 5:03am UTC


