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

**URL:** <https://discuss.elastic.co/t/why-do-we-need-a-redis-broker-in-a-centralized-setup/11964>\
**Category:** Elasticsearch\
**Created:** [May 15, 2013, 4:01am UTC](https://discuss.elastic.co/t/why-do-we-need-a-redis-broker-in-a-centralized-setup/11964 "2013-05-15T04:01:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aakashanuj](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@aakashanuj](https://discuss.elastic.co/u/aakashanuj)\
**Post date:** [May 15, 2013, 4:01am UTC](https://discuss.elastic.co/t/why-do-we-need-a-redis-broker-in-a-centralized-setup/11964/1 "2013-05-15T04:01:23Z")

</div>

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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 15, 2013, 5:31am UTC](https://discuss.elastic.co/t/why-do-we-need-a-redis-broker-in-a-centralized-setup/11964/2 "2013-05-15T05:31:43Z")

</div>

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 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 mai 2013 à 06:01, Aakash Anuj [aakashanuj.iitkgp@gmail.com](mailto: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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:36am UTC](https://discuss.elastic.co/t/why-do-we-need-a-redis-broker-in-a-centralized-setup/11964/3 "2017-07-06T02:36:42Z")

</div>


