Auto Update logs without running logstash

Added scheduler in logstash config file but still having the same problem!!! index is not modifying automatically i have to delete it and recreate it then i get desired no. of docs
here is my config file.

input {
jdbc {
jdbc_driver_library => "C:\folder\Java\jre1.8.0_144\bin\sqljdbc42.jar"
jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
jdbc_connection_string => "jdbc:sqlserver://myserver"
jdbc_user => "username"
jdbc_password => "password"
schedule => "* * * * *"
statement => "SELECT * FROM Logs where Status != 2

}
}

output {
elasticsearch {
hosts => ["localhost:9200"]
index => "index_name"
document_type => "log"
document_id => "%{log_oid}"

}

}