Logstash is not connecting with ElasticSearch and I don't find any error

@zegdene, try as in the sample posted here. Thats the right one.
You can use stdout if you want to see the results on the console, refer: https://www.elastic.co/guide/en/logstash/current/plugins-outputs-stdout.html