Logstash jdbc input plugin not indexing all data to elasticsearch

Try the solution here and turn paging off.

Otherwise read the other comments in the issue.