Multiple logstash nodes and redis cluster


(wanexa) #1

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


(Magnus Bäck) #2

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?


(wanexa) #3

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

http://www.hardis.fr

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


(system) #4

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