Logstash shutdown

I am integrating mysql with elastic search.
when i am running below command in command prompt, Logsatsh display query result but after that shutdown.Please advise how to resolve this issue

logstash.bat - f D:\Elastic_search\logstash-7.4.2\bin>logstash -f D:\Elastic_search\logstash-7.4.2\config\logstash-mysql.conf

Hi experts.. please advise