I have a JDBC Logstash config file, which works perfectly but after few mins, the command prompt window closed automatically and there are still some data left over in the SQL database need to be pushed to Elastic Index.
How to make sure that Logstash pulled entire data results from SQL query and pushed to index?