Logstash Failed to excute action

you need to add a filter {} between input {} and output {}

No, that's not necessary.