Is it possible to impose order for the input files?

Hi All,
I have a usecase, where I have to read two files (csv and txt) , using two file inputs. Then in the filter section, I need to do some filtering on the contents of csv file, based on the field derived from txt file.

This seems to work fine in terms of , reading and when there is update in the contents of the files, it capture the changes.

However, every time when I run logstash command, the csv file is read before the txt file and so my logic for filtering in the filter section is skipped.

I was wondering if there is a way to set order to the input files or force the csv file read to wait for the txt file read to start.

Thanks

No, there is not.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.