Logstash is not reading the last line if EOL character is not found

I noticed logstash is not reading the last line if EOL character is not present. Here is my configuration. Please help to resolve the issue.

input {
file {
path => "C:/temp/file/test/*.txt"
start_position => "beginning"
sincedb_path => "C:/Users/null"
ignore_older => 0
}
}

filter {
mutate {
gsub => [
"message", "[\r]", ""
]
}
}

output {

stdout {codec => rubydebug }  

}

Well, that's just how the file input works. It always waits for complete lines.

Thanks magnusbaeck.