# How to slow down output ingestion rate with logstash?

**URL:** <https://discuss.elastic.co/t/how-to-slow-down-output-ingestion-rate-with-logstash/306363>\
**Category:** Logstash\
**Created:** [June 3, 2022, 8:08pm UTC](https://discuss.elastic.co/t/how-to-slow-down-output-ingestion-rate-with-logstash/306363 "2022-06-03T20:08:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![newelastic](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@newelastic](https://discuss.elastic.co/u/newelastic)\
**Post date:** [June 3, 2022, 8:08pm UTC](https://discuss.elastic.co/t/how-to-slow-down-output-ingestion-rate-with-logstash/306363/1 "2022-06-03T20:08:04Z")

</div>

Hello,

I've millions of records in Elasticsearch and sending outputs as individual files using file output plugin.

I've noticed logstash extraction rate is high and used a sleep plugin to slow down after every few secs or every nth event.

Is there any better way to configure logstash to pull elastic data only after certain duration? Also, if the pipeline is failed for some reason, logstash is executing all the way from the beginning. Is there a way to control with an off-set point so logstash can continue from the breaking point?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 3, 2022, 8:46pm UTC](https://discuss.elastic.co/t/how-to-slow-down-output-ingestion-rate-with-logstash/306363/2 "2022-06-03T20:46:51Z")

</div>

> [@newelastic](#):
>
> Is there a way to control with an off-set point so logstash can continue from the breaking point?

No. There is an [open issue](https://github.com/logstash-plugins/logstash-input-elasticsearch/issues/93) requesting it.

Why do you want to make logstash slower?

---

<div class="post-metadata">

**Author:** ![newelastic](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@newelastic](https://discuss.elastic.co/u/newelastic)\
**Post date:** [June 3, 2022, 9:26pm UTC](https://discuss.elastic.co/t/how-to-slow-down-output-ingestion-rate-with-logstash/306363/3 "2022-06-03T21:26:09Z")

</div>

Thanks. I've an custom output plugin where the faster ingestion is having issues with the plugin. So, was looking if there is any configuration to control the logstash ingestion.

---

<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 1, 2022, 9:26pm UTC](https://discuss.elastic.co/t/how-to-slow-down-output-ingestion-rate-with-logstash/306363/4 "2022-07-01T21:26:23Z")

</div>

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