# Throttle filter error

**URL:** <https://discuss.elastic.co/t/throttle-filter-error/36592>\
**Category:** Logstash\
**Created:** [December 8, 2015, 12:55am UTC](https://discuss.elastic.co/t/throttle-filter-error/36592 "2015-12-08T00:55:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_Rosca](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@Gabriel\_Rosca](https://discuss.elastic.co/u/Gabriel_Rosca)\
**Post date:** [December 8, 2015, 12:55am UTC](https://discuss.elastic.co/t/throttle-filter-error/36592/1 "2015-12-08T00:55:23Z")

</div>

{:timestamp=\>"2015-12-07T16:37:58.521000-0500", :message=\>"Exception in filterworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash.", "exception"=\>#\<RuntimeError: can't add a new key into hash during iteration\>, "backtrace"=\>["org/jruby/RubyHash.java:992:in `[]='", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-throttle-2.0.2/lib/logstash/filters/throttle.rb:186:in`filter'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.0-java/lib/logstash/filters/base.rb:151:in `multi_filter'", "org/jruby/RubyArray.java:1613:in`each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.0-java/lib/logstash/filters/base.rb:148:in `multi_filter'", "(eval):2597:in`cond\_func\_119'", "org/jruby/RubyArray.java:1613:in `each'", "(eval):2594:in`cond\_func\_119'", "(eval):2620:in `cond_func_112'", "org/jruby/RubyArray.java:1613:in`each'", "(eval):2608:in `cond_func_112'", "(eval):804:in`filter\_func'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.0-java/lib/logstash/pipeline.rb:243:in `filterworker'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.0-java/lib/logstash/pipeline.rb:177:in`start\_filters'"], :level=\>:error}

---

<div class="post-metadata">

**Author:** ![vtst2412](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vtst2412/32/6228_2.png) [@vtst2412](https://discuss.elastic.co/u/vtst2412)\
**Post date:** [December 8, 2015, 1:04am UTC](https://discuss.elastic.co/t/throttle-filter-error/36592/2 "2015-12-08T01:04:16Z")

</div>

Well, did you check your filter configuration?

---

<div class="post-metadata">

**Author:** ![Gabriel\_Rosca](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@Gabriel\_Rosca](https://discuss.elastic.co/u/Gabriel_Rosca)\
**Post date:** [December 8, 2015, 1:27am UTC](https://discuss.elastic.co/t/throttle-filter-error/36592/3 "2015-12-08T01:27:07Z")

</div>

Well worked fine for 2 weeks ... Logstash just stopped and that was the error in the logs. I started the logstash and start working again. I wonder what happened ? Why logstash just stopped?

---

<div class="post-metadata">

**Author:** ![vtst2412](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vtst2412/32/6228_2.png) [@vtst2412](https://discuss.elastic.co/u/vtst2412)\
**Post date:** [December 8, 2015, 1:38am UTC](https://discuss.elastic.co/t/throttle-filter-error/36592/4 "2015-12-08T01:38:21Z")

</div>

Hard to say without seeing your config. Has something to do with the way you use the `throttle` filter, evidently.

---

<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 6, 2017, 5:19am UTC](https://discuss.elastic.co/t/throttle-filter-error/36592/5 "2017-07-06T05:19:38Z")

</div>


