elastic / logstash

Logstash - transport and process your logs, events, or other data
https://www.elastic.co/products/logstash
Other
14.2k stars 3.5k forks source link

logstash file input plugin can't handle multiple files within a directory on Windows? #3715

Open david-enli opened 9 years ago

david-enli commented 9 years ago

I have a folder that has all the log files I want to process, but nothing got directed to elasticsearch when i do

Input{ file{ path=>"C:Users/Desktop/logs/*.txt" start_position => beginning}

but works when I do

file{ path=>"C:Users/Desktop/logs/log1.txt" start_position => beginning} The first works on Mac but doesn't on Windows, any fix?

purbon commented 9 years ago

Good morning @david-enli, this looks like a problem of the logstash-input-file, I would recommend reopening this issue at his repo (https://github.com/logstash-plugins/logstash-input-file), and then closing this one.