LS always fetches old data from XML file whenever it runs. Below is my configuration. Due to that I see duplicate data entry in output. I expect from below conf LS only read updated data from file.
file {
path => "/mnt/simpleci_temp_commit.xml"
start_position => "beginning"
sincedb_path => "/mnt/bitbucket/sincedb"
codec => multiline {
pattern => "<item"
negate => "true"
what => "previous"
auto_flush_interval => 1
}
}
}