Why do we need a redis broker in a centralized setup?

I have gone through the documentation on the Logstash server to find out
that we require a redis server which will act as a broker. Here is the link:

http://logstash.net/docs/1.1.12/tutorials/getting-started-centralized

But what is not clear to me is why we use Redis at all as a broker?

We could rather simply directly ship the logs to the elastic search from
logstash itself, that would save us the need of the redis broker. Then why
do we go for a shipper and a indexer ?

Need clear explanation.

Thanks.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I think that using a broker can help for example when you need to upgrade the ES cluster and you don't want to loose logs during the operation.

My 2 cents.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 mai 2013 à 06:01, Aakash Anuj aakashanuj.iitkgp@gmail.com a écrit :

I have gone through the documentation on the Logstash server to find out that we require a redis server which will act as a broker. Here is the link:

http://logstash.net/docs/1.1.12/tutorials/getting-started-centralized
But what is not clear to me is why we use Redis at all as a broker?

We could rather simply directly ship the logs to the elastic search from logstash itself, that would save us the need of the redis broker. Then why do we go for a shipper and a indexer ?

Need clear explanation.

Thanks.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.