How to EXPIRE a key in logstash?

correct way of expiring a key in logstash

input { http { host => "127.0.0.1" # default: 0.0.0.0 port => 31311 # default: 8080 } } output { redis { host => 'localhost' data_type => 'list' key => 'logstash:redis' EXPIRE => 'logstash:redis' '10' } }

The redis output plugin doesn't support setting the key's expiration time.

I want to log events whenever they happen into redis, and this events will have expiry of lets say 1 hour, no of events per sec in high traffic conditions is 1300, so should i go with nginx under php or logstash ?