Hi,
Since a long time ago my logstash is stopping. The log shows this error:
{:timestamp=>"2016-12-14T23:12:28.910000+0100", :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.0.0-java/lib/logstash/filters/base.rb:152:inmulti_filt er'", "org/jruby/RubyArray.java:1613:in
each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/filters/base.rb:149:inmulti_filter'", "(eval):22760:in
cond_func_1157'", "org/jruby/RubyArray.java:1613:ineach'", "(eval):22757:in
cond_func_1157'", "(eval):22783:incond_func_1156'", "org/jruby/RubyArray.java:1613:in
each'", "(eval):22780
:incond_func_1156'", "(eval):3028:in
filter_func'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:219:infilterworker'", "/opt/logstash/v endor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:154:in
start_filters'"], :level=>:error}
{:timestamp=>"2016-12-14T23:12:28.910000+0100", :message=>"Exception in filterworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash
.", "exception"=>#<NoMethodError: undefined method[]' for nil:NilClass>, "backtrace"=>["/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-throttle-2.0.2/lib/logstash/filters/thro ttle.rb:196:in
filter'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/filters/base.rb:152:inmulti_filter'", "org/jruby/RubyArray.java:1613:in
each'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/filters/base.rb:149:inmulti_filter'", "(eval):22760:in
cond_func_1157'", "org/jruby/RubyArray.java:161
3:ineach'", "(eval):22757:in
cond_func_1157'", "(eval):22783:incond_func_1156'", "org/jruby/RubyArray.java:1613:in
each'", "(eval):22780:incond_func_1156'", "(eval):3028:in
filter_
func'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:219:infilterworker'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0 -java/lib/logstash/pipeline.rb:154:in
start_filters'"], :level=>:error}
I understand that the problem deals with throttle.
What can i do to fix this? it is productibeless as i should restart logstash to make it work again.
My cnf file is huge, so if you need let me know where to upload it.
Thanks