# Increasing Logstash Throughput When the Codec is the Bottleneck

**URL:** <https://discuss.elastic.co/t/increasing-logstash-throughput-when-the-codec-is-the-bottleneck/224158>\
**Category:** Logstash\
**Created:** [March 18, 2020, 4:45pm UTC](https://discuss.elastic.co/t/increasing-logstash-throughput-when-the-codec-is-the-bottleneck/224158 "2020-03-18T16:45:50Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Post date:** [March 26, 2020, 10:01am UTC](https://discuss.elastic.co/t/increasing-logstash-throughput-when-the-codec-is-the-bottleneck/224158/11 "2020-03-26T10:01:21Z")

</div>

If Kafka is in the mix, I would split the ElastiFlow pipeline into two parts. A _collector/decoder_ and a _post-processor_ with Kafka in the middle. On my to-do list is a video where I explain why this is a good idea for any high volume UDP use-cases.

You will also want to use the recommendations for kafka plugin configuration which I posted here... [How to slow down large amount of data coming from filebeat?](https://discuss.elastic.co/t/how-to-slow-down-large-amount-of-data-coming-from-filebeat/224970/6)

Connect with me on LinkedIn (below) if you want to discuss in more detail.

Rob

[![GitHub](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6f8ae834f16b1a02d31607317669716807844d84.png)](https://github.com/robcowart) [![YouTube](https://us1.discourse-cdn.com/elastic/original/3X/4/3/43b9b81a8c93786219985aeb5335c1c323449053.png)](https://www.youtube.com/channel/UCivWvTx1DwrWNcDLV58kmOg) [![LinkedIn](https://us1.discourse-cdn.com/elastic/original/3X/6/7/674f3370d0f0542ddc5e408516beb1b7edd6c1bf.png)](https://www.linkedin.com/in/robertcowart/)  
**[How to install Elasticsearch & Kibana on Ubuntu - incl. hardware recommendations](https://www.youtube.com/watch?v=gZb7HpVOges)**  
**[What is the best storage technology for Elasticsearch?](https://www.youtube.com/watch?v=nKUpfJCBiS4)**

---

_[View the full topic](https://discuss.elastic.co/t/increasing-logstash-throughput-when-the-codec-is-the-bottleneck/224158)._
