# Logstash 8.3.3 removes entries from sincedb

**URL:** https://discuss.elastic.co/t/logstash-8-3-3-removes-entries-from-sincedb/311293
**Category:** Logstash
**Created:** [August 3, 2022, 10:37am UTC](https://discuss.elastic.co/t/logstash-8-3-3-removes-entries-from-sincedb/311293 "2022-08-03T10:37:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)
#### Post date: [August 3, 2022, 10:37am UTC](https://discuss.elastic.co/t/logstash-8-3-3-removes-entries-from-sincedb/311293/1 "2022-08-03T10:37:24Z")

</div>

Hello,

I have a pipeline using Logstash 8.3.3  
The pipeline is consuming csv file from an input folder using file input  
The csv files are produced by an other system on the flight

This my input

```auto
input {
  file {
    path => ["/u01/*.csv"]
    sincedb_path => "/opt/tmp/sincedb_file.txt"
    file_completed_action => "log_and_delete"
    file_completed_log_path => "/opt/tmp/processed_files.txt"
    mode => read
    ecs_compatibility => "disabled"
    file_sort_by => "last_modified"
    file_sort_direction => "asc"
    max_open_files => 10
    start_position => "beginning"
    sincedb_clean_after => "356 d"
    exit_after_read => false
  }
}

```

Logstash is processing files and sending documents into Elasticsearch.  
The producer send 1984 csv file into /u01  
After a while, i can see 1984 entries in /opt/tmp/processed\_files.txt  
But only 98 entries in /opt/tmp/sincedb\_file.txt

Did any one have an explantion to this, i'm supposed to have 1984 entries in /opt/tmp/sincedb\_file.txt when all files are processed and deleted

Thanks

---

<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: [August 31, 2022, 10:37am UTC](https://discuss.elastic.co/t/logstash-8-3-3-removes-entries-from-sincedb/311293/2 "2022-08-31T10:37:31Z")

</div>

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