# Files skipped in logstash but contained in Sincedb file

**URL:** https://discuss.elastic.co/t/files-skipped-in-logstash-but-contained-in-sincedb-file/233199
**Category:** Logstash
**Created:** [May 18, 2020, 8:50pm UTC](https://discuss.elastic.co/t/files-skipped-in-logstash-but-contained-in-sincedb-file/233199 "2020-05-18T20:50:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aerodynamic](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@aerodynamic](https://discuss.elastic.co/u/aerodynamic)
#### Post date: [May 18, 2020, 8:50pm UTC](https://discuss.elastic.co/t/files-skipped-in-logstash-but-contained-in-sincedb-file/233199/1 "2020-05-18T20:50:34Z")

</div>

Hello,

My current setup reads gz files from `coolpath` and forwards them to elasticsearch.

However there are files being left behind in `coolpath`.

```auto
input {
  file {
    id => "my-id"
    path => "/coolpath/*.gz"
    mode => "read"
    sincedb_path => "/home/ftpuser/logstash.sdb"
    file_completed_action => "log_and_delete"
    file_completed_log_path => "/home/ftpuser/logstash.completed"
    sincedb_clean_after => 0.00069445
    file_sort_by => "path"
    discover_interval => 3
    stat_interval => 10
  }
}

```

These files do have entries inside of the sincedb file however..`cat /home/ftpuser/logstash.sdb | grep 202005182003-3411.gz 134217875 0 2058 27050917 1589832337.023037 /home/ftpuser/tdr/input/rta-coll-rta1/local/202005182003-3411.gz`.

Unsure how to go about remedying 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: [June 15, 2020, 8:50pm UTC](https://discuss.elastic.co/t/files-skipped-in-logstash-but-contained-in-sincedb-file/233199/2 "2020-06-15T20:50:53Z")

</div>

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