# Role of kafka between filebeat and logstash

**URL:** https://discuss.elastic.co/t/role-of-kafka-between-filebeat-and-logstash/296566
**Category:** Logstash
**Created:** [February 8, 2022, 9:20am UTC](https://discuss.elastic.co/t/role-of-kafka-between-filebeat-and-logstash/296566 "2022-02-08T09:20:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![alex\_vermex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_vermex/32/101267_2.png) [@alex\_vermex](https://discuss.elastic.co/u/alex_vermex)
#### Post date: [February 8, 2022, 9:20am UTC](https://discuss.elastic.co/t/role-of-kafka-between-filebeat-and-logstash/296566/1 "2022-02-08T09:20:12Z")

</div>

Hi,  
I have a lot of log files in each hour it will be created a new file log so i get it and i filter it with this architecture :  
filebeat -\> logstash -\> Elasticsearch -\> kibana  
I would to know there is any avantage to use kafka between filebeat and logstash and why? or should i forgot the kafka in my exemple ? ...

Any help would be sincerely appreciate!

---

<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: [March 8, 2022, 9:20am UTC](https://discuss.elastic.co/t/role-of-kafka-between-filebeat-and-logstash/296566/2 "2022-03-08T09:20:16Z")

</div>

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