I'm working with logstash, for uploading data into the elaststicsearch from a CSV file.
I've succeeded to upload it to the elasticsearch, but the only issue I am having right now
is when the CSV file is uploaded, logstash still waits on the command prompt until
this file is modified and as soon as file contents are changed/saved it starts updating
data again to the elasticsearch and does not simply teminates.
IT NEEDS TO BE CLOSED EXPLICITLY
Is is possible to terminate logstast process after data is uploaded once?
Can we configure this some where?