# Logstash to Redis output plugin

**URL:** https://discuss.elastic.co/t/logstash-to-redis-output-plugin/51288
**Category:** Logstash
**Created:** [May 30, 2016, 8:33am UTC](https://discuss.elastic.co/t/logstash-to-redis-output-plugin/51288 "2016-05-30T08:33:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![criestlav](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@criestlav](https://discuss.elastic.co/u/criestlav)
#### Post date: [May 30, 2016, 8:33am UTC](https://discuss.elastic.co/t/logstash-to-redis-output-plugin/51288/1 "2016-05-30T08:33:28Z")

</div>

Hi, I am a newbie in ELK.  
I have Logstash reading from a json file.  
What i am trying to do is that Logstash send the entire event to ES (it works) and just one field from json event to redis (it does not work).  
It introduces always the entire event into reddis too.

Could anyone help me please?

Thank you a lot.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [May 30, 2016, 8:38am UTC](https://discuss.elastic.co/t/logstash-to-redis-output-plugin/51288/2 "2016-05-30T08:38:48Z")

</div>

You'll have to make a copy of the event with the clone filter och delete all fields except one in the copy that should go to the redis output. Use conditionals to direct the Redis event to the redis output but not the elasticsearch output and vice versa.

---

<div class="post-metadata">

### Author: ![criestlav](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@criestlav](https://discuss.elastic.co/u/criestlav)
#### Post date: [May 30, 2016, 8:45am UTC](https://discuss.elastic.co/t/logstash-to-redis-output-plugin/51288/3 "2016-05-30T08:45:23Z")

</div>

Thank you a lot for your fast reponse.  
Very useful information. J

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 4:55am UTC](https://discuss.elastic.co/t/logstash-to-redis-output-plugin/51288/4 "2017-07-06T04:55:32Z")

</div>


