# Is it still actual use Redis or Kafka before Elastic Stack?

**URL:** <https://discuss.elastic.co/t/is-it-still-actual-use-redis-or-kafka-before-elastic-stack/97387>\
**Category:** Elasticsearch\
**Created:** [August 17, 2017, 10:02am UTC](https://discuss.elastic.co/t/is-it-still-actual-use-redis-or-kafka-before-elastic-stack/97387 "2017-08-17T10:02:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufomen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ufomen/32/14554_2.png) [@ufomen](https://discuss.elastic.co/u/ufomen)\
**Post date:** [August 17, 2017, 10:02am UTC](https://discuss.elastic.co/t/is-it-still-actual-use-redis-or-kafka-before-elastic-stack/97387/1 "2017-08-17T10:02:54Z")

</div>

Hello.  
I see many old articles where administrators reccomend use some buffer or broker before logstash or elasticsearch.  
Like:  
Many Linux Servers LOGS (Rsyslog) --\> REDIS (Kafka etc.) --\> logstash --\> Elasticsearch --\> Kibana  
or simple  
Many Linux Servers LOGS (Rsyslog) --\> REDIS (Kafka etc.) --\> Elasticsearch --\> Kibana (without logstash)

Is it actual for new version of Logstash and Elasticsearch (5.5) or now native broker do it well? (Prevent data lose and load balance)

---

<div class="post-metadata">

**Author:** ![poojagupta](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@poojagupta](https://discuss.elastic.co/u/poojagupta)\
**Post date:** [August 18, 2017, 8:55am UTC](https://discuss.elastic.co/t/is-it-still-actual-use-redis-or-kafka-before-elastic-stack/97387/2 "2017-08-18T08:55:40Z")

</div>

Hi,

yes, it have great use of broker /buffer tool for log analysis and it is also with new version of Log stash and Elasticsearch.  
you can use Redis or kafka or RabitMQ as buffer /broker and using of it all depends on your need.  
Kafka and Redis. Both tools provide the functionality of data streaming and aggregation in their own respective ways.  
A broker acts as a queue from which one or more Logstash instances can pull events. It' is also useful for load balancing requests and also acts as a buffer when there are lots of incoming events.

for more refer below link:

> **[Kafka vs. Redis: Log Aggregation Capabilities and Performance](https://logz.io/blog/kafka-vs-redis/)**
>
> Kafka and Redis are used for log aggregation. In this post, we compare the two in regards to their various capabilities and performance tests.

---

<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:** [September 15, 2017, 8:55am UTC](https://discuss.elastic.co/t/is-it-still-actual-use-redis-or-kafka-before-elastic-stack/97387/3 "2017-09-15T08:55:48Z")

</div>

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