# Logstash redis filter goes wrong

**URL:** https://discuss.elastic.co/t/logstash-redis-filter-goes-wrong/222151
**Category:** Logstash
**Created:** [March 4, 2020, 7:53pm UTC](https://discuss.elastic.co/t/logstash-redis-filter-goes-wrong/222151 "2020-03-04T19:53:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [March 4, 2020, 9:22pm UTC](https://discuss.elastic.co/t/logstash-redis-filter-goes-wrong/222151/2 "2020-03-04T21:22:28Z")

</div>

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](https://www.elastic.co/guide/en/logstash/current/event-api.html).

---

_[View the full topic](https://discuss.elastic.co/t/logstash-redis-filter-goes-wrong/222151)._
