# Logstash not working until I re-save the file

**URL:** <https://discuss.elastic.co/t/logstash-not-working-until-i-re-save-the-file/42559>\
**Category:** Logstash\
**Created:** [February 24, 2016, 8:10am UTC](https://discuss.elastic.co/t/logstash-not-working-until-i-re-save-the-file/42559 "2016-02-24T08:10:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Natarajan\_venkataram](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@Natarajan\_venkataram](https://discuss.elastic.co/u/Natarajan_venkataram)\
**Post date:** [February 24, 2016, 8:10am UTC](https://discuss.elastic.co/t/logstash-not-working-until-i-re-save-the-file/42559/1 "2016-02-24T08:10:55Z")

</div>

The logstash is not parsing the csv logs files automatically. It works only after I reopen the file and save it again.  
Sometimes, if the log files are more than 1GB, opening the files with Excel ( or any other editor) is either giving issues, or saving it causing the files to be truncated to the maximum file size supported by Excel ( or other tools ).

Software details  
Logstash 2.2.2  
Windows 7  
Microsoft Excel for viewing the CSV data

---

<div class="post-metadata">

**Author:** ![DaanCreemers](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@DaanCreemers](https://discuss.elastic.co/u/DaanCreemers)\
**Post date:** [February 24, 2016, 8:28am UTC](https://discuss.elastic.co/t/logstash-not-working-until-i-re-save-the-file/42559/2 "2016-02-24T08:28:15Z")

</div>

Have a look here: [Problem input file version 2.2.0](https://discuss.elastic.co/t/problem-input-file-version-2-2-0/41802/5).  
The `ignore_older` option is added to Logstash 2.2.2.

---

<div class="post-metadata">

**Author:** ![RickX](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@RickX](https://discuss.elastic.co/u/RickX)\
**Post date:** [February 24, 2016, 9:18am UTC](https://discuss.elastic.co/t/logstash-not-working-until-i-re-save-the-file/42559/3 "2016-02-24T09:18:06Z")

</div>

If you are using a static file for debugging purpose,  
you can try to add  
sincedb\_path = "/dev/null"  
in your file input.

---

<div class="post-metadata">

**Author:** ![Natarajan\_venkataram](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@Natarajan\_venkataram](https://discuss.elastic.co/u/Natarajan_venkataram)\
**Post date:** [February 25, 2016, 10:27am UTC](https://discuss.elastic.co/t/logstash-not-working-until-i-re-save-the-file/42559/4 "2016-02-25T10:27:01Z")

</div>

Thanks @DaanCreemers .. that solves the issue .

---

<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:09am UTC](https://discuss.elastic.co/t/logstash-not-working-until-i-re-save-the-file/42559/5 "2017-07-06T05:09:46Z")

</div>


