logstash-plugins / logstash-input-file

Apache License 2.0
68 stars 101 forks source link

Add some windows specific instructions and example when defining the path. #142

Open guyboertje opened 8 years ago

guyboertje commented 8 years ago

Add documentation to use forward slashes in Windows at: https://github.com/logstash-plugins/logstash-input-file/blob/master/lib/logstash/inputs/file.rb#L96

cswef commented 7 years ago

[BUG]Logstash Version:2.4.1 logstash-input-file can't understood \* on windows: 1.path => "F:\Elastic Stack\Apache Log Files\aa.log" This works.

2.path => "F:/Elastic Stack/Apache Log Files/*.log" This works.

3.path => "F:\Elastic Stack\Apache Log Files\*.log" This doesn't work!

Logstash got stuck at "Pipeline main started",without giving any error information! It is a BUG! (How strange it is!)

(Note:It is not caused by "start_position","ignore_older" and the "sincedb".)

Reference: https://github.com/cityindex-attic/logsearch/issues/100