Windows - File input - sincedb with multiple files bug

Description

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.

Attachments

5

Gliffy Diagrams

Activity

Show:

Philippe Weber August 8, 2014 at 12:21 PM

Linking as duplicate and closing in favor of issues already in Confirmed state

Koen Geerts June 17, 2014 at 12:31 PM

See comments of for a workaround.

Duplicate

Details

Assignee

Reporter

Affects 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