I have a Logstash -> Elasticsearch set p. Everything is working as expected, but I have a problem with the sincedb or better with my Linux VM underneath.
If I reboot the system, the device number of the partition is changing.
So Logstash thinks it has to import the log file again.
For better understanding here my setup
My pipeline.conf with the sincedb setup
I can't do anything about the vm configuration atm because it is not in my hand but if I call stat -c "%D" /usr/share/logstash/logs/localhost_access_log.2023-09-30.txt.gz
I can clearly see the same changes to support my theory
Are there any other ways to set up sincedb to rely on something other than the minor device number? Are there any other options I have?
To be honest, I don't know exactly what type it is atm.
I will try to find out. My first guess is vm disk.
What would be the difference in context of the device number?
If I do a stat on some files before and after reboot this is the stat output
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.