db.log rotates to db_backup.log.
input to logstash
input {
  file {
    path => "C:/Program Files (x86)/webserver/db/logs/db.log"
	exclude => "db_backup.log"
    type => "db"
    start_position => "beginning" 
    sincedb_path => "C:/setup/tools/logstash/sincedb_db.log"
    sincedb_clean_after => "4h"
    codec => multiline {
      pattern => "^\d{14}"  # Match lines starting with a 14-digit timestamp
      negate => true        # Lines NOT matching the pattern are part of the previous event
      what => "previous"    # Append non-matching lines to the previous event
      charset => "ISO-8859-1"
    }
  }
}
My sincedb entry before logstash restart
3336151636-103439-38731776 0 0 3743221 1746535009.097 C:/Program Files (x86)/webserver/db/logs/db.log
3336151636-103510-51970048 0 0 5255427 1746544213.982 C:/Program Files (x86)/webserver/db/logs/db.log
3336151636-103610-29032448 0 0 3033128 1746546108.149 C:/Program Files (x86)/webserver/db/logs/db.log
My sincedb entry after logstash restart
3336151636-103439-38731776 0 0 3743221 1746535009.097 C:/Program Files (x86)/webserver/db/logs/db.log
3336151636-103510-51970048 0 0 5255427 1746544213.982 C:/Program Files (x86)/webserver/db/logs/db.log
3336151636-103610-29032448 0 0 3033128 1746546108.149 C:/Program Files (x86)/webserver/db/logs/db.log
3336151636-103554-71303168 0 0 3896388 1746546378.764 C:/Program Files (x86)/webserver/db/logs/db.log   -- this is the right inode entry
db.log is pushed to elk. Without logstash restart. I want the correct inode to be updated. Please help