Logstash: Disabling logstash's file modification waiting behavior, while uploading data from a file

@magnusbaeck Thanks for the update.

Is these any way [input] that I can write a program to read CSV and keep putting records one by one until EOF.
In other words,
Can I upload record by record into elasticsearch using logstash?

We have a case where file sizes are limited(<1GB or <500MB) and are never updated/appended.
We have created a local web app which provides role based access where users can upload their files, and at the server side we have written functionality to automatically upload the file using elasticsearch.
But since logstash keeps waiting for file/content change even after file upload completed it keeps no of command prompts alive/listening to files. This is cumbersome and is a overhead.

Suggest a solution.