# \[Input file plugin\] sincedb default path changed since plugin version 3.1.1, so from logstash 5.0.0 and on

**URL:** <https://discuss.elastic.co/t/input-file-plugin-sincedb-default-path-changed-since-plugin-version-3-1-1-so-from-logstash-5-0-0-and-on/81307>\
**Category:** Logstash\
**Created:** [April 5, 2017, 12:18pm UTC](https://discuss.elastic.co/t/input-file-plugin-sincedb-default-path-changed-since-plugin-version-3-1-1-so-from-logstash-5-0-0-and-on/81307 "2017-04-05T12:18:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fortikeco](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fortikeco](https://discuss.elastic.co/u/fortikeco)\
**Post date:** [April 5, 2017, 12:18pm UTC](https://discuss.elastic.co/t/input-file-plugin-sincedb-default-path-changed-since-plugin-version-3-1-1-so-from-logstash-5-0-0-and-on/81307/1 "2017-04-05T12:18:55Z")

</div>

Hi,

I noticed the user and code documentation of the default sincedb path is not up-to-date.  
I had to lookup the source code to see what was going on.

Since the commit of July 26, 2016 the behaviour of the default sincedb path has been changed:

> <https://github.com/logstash-plugins/logstash-input-file/commit/72d17fda12507c154e99f23e5cb2d1525dfd581c>

  
So from the 3.1.1 version and on of the plugin.

According to the source code, the default path is  
`<path.data>/plugins/inputs/file`

The code that should set the default path to $SINCEDB\_DIR or $HOME will never be reached, also in the current situation.

> <https://github.com/logstash-plugins/logstash-input-file/blob/master/lib/logstash/inputs/file.rb>

Could the user and code documentation be updated to explain this behaviour?  
Tnx!

Regards.  
Bjorn

---

<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:** [May 3, 2017, 12:19pm UTC](https://discuss.elastic.co/t/input-file-plugin-sincedb-default-path-changed-since-plugin-version-3-1-1-so-from-logstash-5-0-0-and-on/81307/2 "2017-05-03T12:19:29Z")

</div>

Closed on May 3, 2017, 12:19pm UTC

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