# Scale Logstash config for more than 20,000 messages per minute?

**URL:** <https://discuss.elastic.co/t/scale-logstash-config-for-more-than-20-000-messages-per-minute/350552>\
**Category:** Logstash\
**Tags:** elastic-stack-monitoring\
**Created:** [January 8, 2024, 7:36am UTC](https://discuss.elastic.co/t/scale-logstash-config-for-more-than-20-000-messages-per-minute/350552 "2024-01-08T07:36:05Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Trung\_Nguyen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trung_nguyen/32/127478_2.png) [@Trung\_Nguyen](https://discuss.elastic.co/u/Trung_Nguyen)\
**Post date:** [January 18, 2024, 2:08am UTC](https://discuss.elastic.co/t/scale-logstash-config-for-more-than-20-000-messages-per-minute/350552/15 "2024-01-18T02:08:46Z")

</div>

@leandrojmp, sorry.... it was duplicate reply from my site that why I'm not sure what was provide.  
I use persistent queue already, but it the same result. the log status is the same as in this topic: [Time delay between logstash and elasticsearch](https://discuss.elastic.co/t/time-delay-between-logstash-and-elasticsearch/227749)

Elastic host running on SSD of course.

here is my logstash pipeline.yml

```auto
- pipeline.id: main
  path.config: "/etc/logstash/conf.d/*.conf"
  pipeline.workers: 20

```

I will try to follow indexing speed as your recommendation.

Thanks a lot  
Trung

---

_[View the full topic](https://discuss.elastic.co/t/scale-logstash-config-for-more-than-20-000-messages-per-minute/350552)._
