Logstash indexing

I have parse data through logstash index has been made in kibana ... but then i try to modify the config file and try to run logstash it hangs . I change the config file name and change the index name but it still hangs . I am using linux enviorment can someone help meanwhile i delete the logstash template but still it hangs what was the reason while i run the same file in windows it runs perfectly

this is result

the process is hang