# Multiple logstash nodes and redis cluster

**URL:** <https://discuss.elastic.co/t/multiple-logstash-nodes-and-redis-cluster/132866>\
**Category:** Logstash\
**Created:** [May 22, 2018, 5:35pm UTC](https://discuss.elastic.co/t/multiple-logstash-nodes-and-redis-cluster/132866 "2018-05-22T17:35:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wanexa](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wanexa](https://discuss.elastic.co/u/wanexa)\
**Post date:** [May 22, 2018, 5:35pm UTC](https://discuss.elastic.co/t/multiple-logstash-nodes-and-redis-cluster/132866/1 "2018-05-22T17:35:52Z")

</div>

Hi

I set up two logstash's server and a redis cluster, so I try to figure out how logstash can send only one time the information to the elastic server.  
The configuration on the logstash server is the same ::input {  
redis {  
host =\> "1.1.1.1"  
....  
}

so the process gonna collect the information twice and send it to the elastic server, I can t find an issue

Bests

---

<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 22, 2018, 9:16pm UTC](https://discuss.elastic.co/t/multiple-logstash-nodes-and-redis-cluster/132866/2 "2018-05-22T21:16:23Z")

</div>

> so the process gonna collect the information twice and send it to the elastic server

That can't be right, at least not if you're storing the data in a Redis list. What does the rest of your redis input configuration look like?

---

<div class="post-metadata">

**Author:** ![wanexa](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wanexa](https://discuss.elastic.co/u/wanexa)\
**Post date:** [May 23, 2018, 5:57am UTC](https://discuss.elastic.co/t/multiple-logstash-nodes-and-redis-cluster/132866/3 "2018-05-23T05:57:14Z")

</div>

input {

redis {

```
host => "1.1.1.1"

key => "logstash"

password => "password"

data_type => "list"

codec => json

```

}

}

you re right , th elist gonne be empty, my mistake

![]()

Jérôme Denéchaud

Mobile : (+33) 6 60 98 29 54

Mailto : [jerome.denechaud@hardis.fr](mailto:jerome.denechaud@hardis.fr)

[http://www.hardis.fr](http://www.hardis.fr)

Bordeaux . Grenoble . Paris . Lyon . Nantes . Rennes . Lille

---

<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:** [June 20, 2018, 5:57am UTC](https://discuss.elastic.co/t/multiple-logstash-nodes-and-redis-cluster/132866/4 "2018-06-20T05:57:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
