Code failure

I've fixed the code looking another posts like this:
https://www.elastic.co/guide/en/logstash/current/config-examples.html