Logstash redis filter goes wrong

Unless you are running a very old version of logstash you cannot refer to the event like that. If you want to add a field to the event use the event.set API.