Force logstash to reindex csv files

Sometimes I need to force the re-indexing of files csv from the beginning.
I try to delete the sincedb file and restart logstash, but re-indexing never restart from the beginning.
What is the solution to reindex all files with logstash ?


You'd be better off having a different config file for this, with sincedb set to /dev/null, or use stdin + cat.

Also, adjust the file input's ignore_older parameter as necessary.

Thank you!, I add dev/null and ignore_older and it's ok

input {
    file {
        path => "E:/VOLUMETRIE-*.TXT"
		type => "core2"
		start_position => beginning
		#sincedb_path => "E:/test.db"
		sincedb_path => "/dev/null"
		ignore_older => 0