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
path => "E:/VOLUMETRIE-*.TXT"
type => "core2"
start_position => beginning
#sincedb_path => "E:/test.db"
sincedb_path => "/dev/null"
ignore_older => 0
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.