The logstash process locks file on windows. This was happened and solved in the previous I believe.
Here is my setup. "aaa.txt" is locked by logstash.
input {
file {
type => "apache"
path => ["c:/elk/test/aaa.txt"]
sincedb_path => "nul"
start_position => beginning
}
}
output {
stdout {
codec => rubydebug
}
}