There is a similar question and solution here.
However, in 7.11 if I set sincedb_path => "/dev/null"
and start logstash I get the following error:
Error: Permission denied – Permission denied
Exception: Errno::EACCES
which turned out to be quite difficult to find the cause of. In other words, the solution of setting sincedb_path => "/dev/null"
doesn't work.
My OS is MacOSX and I installed logstash via brew. Is there a better way than stopping logstash each time, removing libexec/data/plugins/inputs/file/.sincedb_XXXX
files and restarting logstash?