Regarding reading files from a directory to which new files are being added continuously after processing all of previous files

input {
file {
path => "/Users/shashi/CSVFiles/Core2/*.txt"

I know above can be used to read input from multiple files in Core2 directory of type txt.
My requirement is that multiple new files are being continuously added to this directory when available, for example every 5 minutes. what should i do to read these new files that arrived after logstash processed all of the previous files

It should pick them up automatically.

Hi Mark,

Sorry for creating another thread for same question.Actually, i mistakenly gave Reading files to a directory instead of Reading files from a directory in the first thread. I corrected it in the second thread.
Thanks

Please just edit the existing thread rather than making new ones.

Actually the Topic Subject name had the error i mentioned in previous post.

Hi Mark,

I couldnt figure out how to edit the text.

Thanks

sorry i didnt notice the edit option thats show like icons below the post.

Thanks