everytime I try it logstash service keep running without finishing the service
Logstash doesn't shut down just because it reaches the end of the input file. It's designed to continuously monitor files and send data as it arrives.
and no new index is created in ES machine.
This is an extremely common problem that people are having. Please see my response here: Logstash not indexing the input data to elastic search