Duplicate
Details
Assignee
Logstash DevelopersLogstash DevelopersReporter
Koen GeertsKoen GeertsAffects versions
Details
Details
Assignee
Logstash Developers
Logstash DevelopersReporter
Koen Geerts
Koen GeertsAffects versions
Created April 23, 2014 at 2:55 PM
Updated August 8, 2014 at 12:21 PM
Resolved August 8, 2014 at 12:21 PM
Hi,
I am using version 1.4.0 of logstash.
I encounter a bug when using the file input with multiple files, with using globs or with an array of files.
I have 3 files with 3 lines each one of them. When I run logstash with the attached configuration following happens:
3 files are detected by the glob
1 sincedb file is generated from the "C:/tmp/file*" path
file1 is read and the 3 lines come through as normal
sincedb is written
file 2 is read, detects a sincedb and skips all the lines
file 3 is read, same happens as for file2
From what I see the sincedb mechanism is at fault. It does not recognize the three files are different. Is this a bug or wrong usage of the sincedb?
If it is the latter case this should be documented clearly as it is unsuspected behaviour in my opinion.