# .sincedb is not updated properly

**URL:** <https://discuss.elastic.co/t/sincedb-is-not-updated-properly/48923>\
**Category:** Logstash\
**Created:** [May 2, 2016, 6:25am UTC](https://discuss.elastic.co/t/sincedb-is-not-updated-properly/48923 "2016-05-02T06:25:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ktomu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ktomu/32/3975_2.png) [@ktomu](https://discuss.elastic.co/u/ktomu)\
**Post date:** [May 2, 2016, 6:25am UTC](https://discuss.elastic.co/t/sincedb-is-not-updated-properly/48923/1 "2016-05-02T06:25:24Z")

</div>

Hello, I have a problem with update .sincedb database.  
Sometimes (not always, but the input files always the same), a new record of last processed file appears in .sincedb only after logstash has restarted by me.

My environment are:  
LS: 2.3.1  
OS: RHEL 6.6  
Config File is:  
input {

file {  
path =\> "/mnt/ramdisk0/processing/"  
exclude =\> ".gz"  
start\_position =\> 'beginning'  
}  
}

output {

kafka {  
codec =\> line { format =\> '%{message}' }  
bootstrap\_servers =\> 'cnode1:9092,cnode2:9092,cnode3:9092'

topic\_id =\> 'test\_p1\_%{+YYYY.MM.dd}'

```
}

```

}

---

<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, 4:59am UTC](https://discuss.elastic.co/t/sincedb-is-not-updated-properly/48923/2 "2017-07-06T04:59:43Z")

</div>


