# Throttle filter + sleep command to create upload rate

**URL:** <https://discuss.elastic.co/t/throttle-filter-sleep-command-to-create-upload-rate/89825>\
**Category:** Logstash\
**Created:** [June 18, 2017, 6:02am UTC](https://discuss.elastic.co/t/throttle-filter-sleep-command-to-create-upload-rate/89825 "2017-06-18T06:02:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amir\_Gilad](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@Amir\_Gilad](https://discuss.elastic.co/u/Amir_Gilad)\
**Post date:** [June 18, 2017, 6:02am UTC](https://discuss.elastic.co/t/throttle-filter-sleep-command-to-create-upload-rate/89825/1 "2017-06-18T06:02:52Z")

</div>

Hi,

I'm trying to creating "Rate-limit" filter and I've seen some advises regarding using throttle+sleep to achieve this goal.  
However, I failed todo it myself...  
Can anyone provide an example for (just for the sake of arguing 😄) doing something like that:  
Upload rate of 300 events per second.

From my games with the throttle filter I've found ways to simply ignore some of the events but not making the entire pipeline work in a given rate without losing events.

Thanks!

---

<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 16, 2017, 6:03am UTC](https://discuss.elastic.co/t/throttle-filter-sleep-command-to-create-upload-rate/89825/2 "2017-07-16T06:03:19Z")

</div>

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