# Logstash 6.5.3 inode reuse problem

**URL:** <https://discuss.elastic.co/t/logstash-6-5-3-inode-reuse-problem/161767>\
**Category:** Logstash\
**Created:** [December 21, 2018, 1:02am UTC](https://discuss.elastic.co/t/logstash-6-5-3-inode-reuse-problem/161767 "2018-12-21T01:02:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jinyoon](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@jinyoon](https://discuss.elastic.co/u/jinyoon)\
**Post date:** [December 21, 2018, 1:02am UTC](https://discuss.elastic.co/t/logstash-6-5-3-inode-reuse-problem/161767/1 "2018-12-21T01:02:26Z")

</div>

Hi.  
I use logback (file appender, time-based policy, hourly) and logstash send to kafka from logback result.  
But when file is rolling, logstash miss some first lines.  
I guess that inode in sincedb file is reuse.

Please tell me How I solve this problem? (ignore\_older? sincedb\_clean\_after? filebeat?)

below (my logback config):

> 

```
<file>logs/current.log</file>
<encoder>
    <pattern>%d{yyyyMMdd}\t%d{HHmmssSSS}\t%m%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
    <fileNamePattern>logs/log_%d{yyyyMMdd,aux}/story_contents.%d{yyyyMMddHH}.log</fileNamePattern>
    <maxHistory>2</maxHistory>
</rollingPolicy>

```

below (my logstash config) :

> input {  
> file {  
> type =\> "xxx"  
> path =\> ["/path"]  
> start\_position =\> "beginning"  
> sincedb\_write\_interval =\> 1  
> }  
> }

---

<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:** [January 18, 2019, 1:15am UTC](https://discuss.elastic.co/t/logstash-6-5-3-inode-reuse-problem/161767/2 "2019-01-18T01:15:42Z")

</div>

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