# Logstash sincedb file issue

**URL:** <https://discuss.elastic.co/t/logstash-sincedb-file-issue/245831>\
**Category:** Logstash\
**Created:** [August 20, 2020, 11:08pm UTC](https://discuss.elastic.co/t/logstash-sincedb-file-issue/245831 "2020-08-20T23:08:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahulnama](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@rahulnama](https://discuss.elastic.co/u/rahulnama)\
**Post date:** [August 20, 2020, 11:08pm UTC](https://discuss.elastic.co/t/logstash-sincedb-file-issue/245831/1 "2020-08-20T23:08:08Z")

</div>

Hi Team

My elk is on docker and I'm mounting sincedb file to mounted volume.

I changed the directory of logstash file input and **recreated** the docker container.

I see log data of only one file in elasticsearch though having 5 matching files for the input pattern.

I opened sincedb file and i saw this

 ![Screen Shot 2020-08-20 at 5.53.20 PM](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a016ad3478709ee60bf893c95934e9055cdaac76.png) !

But, none of the above files are in Elasticsearch. Also, there is no index created for that date pattern.

I opened sincedb after some time, All of them disappeared. I'm able to see only this.

 ![Screen Shot 2020-08-20 at 5.55.27 PM](https://us1.discourse-cdn.com/elastic/original/3X/2/2/22df609b0add84e17a6c24dee40f83fbf496c1cb.png)

Not sure why this is happening. I checked multiple times. and everytime sincedb file is changing.

However, my concern is data from that folder is not indexing into es. I see data only from one file despite having 5 files. Any suggestions on this ?

here is my input config:

```
 file {
        path => "/usr/share/logstash/data/sincedb/logs/phxalfresco-6bfdbdcc47-8pbb5_logs/access-2020-**.log"
        type => "access-log"
         sincedb_path => "/usr/share/logstash/data/sincedb/.sincedb"
}
    }

```

Thanks for your time

---

<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:** [September 17, 2020, 11:08pm UTC](https://discuss.elastic.co/t/logstash-sincedb-file-issue/245831/2 "2020-09-17T23:08:12Z")

</div>

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