I cant put logs in elasticsearch from logstash

The rest of the config looks ok.
Can you look at the _cat APIs to see if there is data in your cluster?