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

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:


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.

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

Regards.
Bjorn

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