Open m4ce opened 8 years ago
{:timestamp=>"2016-01-15T15:17:42.750000+0100", :message=>"Exception in filterworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash.", "exception"=>#<SystemStackError: stack level too deep>, "backtrace"=>["org/jruby/RubyArray.java:1613:in `each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/hashie-3.4.3/lib/hashie/extensions/indifferent_access.rb:78:in `convert!'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/hashie-3.4.3/lib/hashie/extensions/indifferent_access.rb:61:in `inject!'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/hashie-3.4.3/lib/hashie/extensions/indifferent_access.rb:86:in `indifferent_value'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/hashie-3.4.3/lib/hashie/extensions/indifferent_access.rb:107:in `indifferent_writer'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-docker_metadata-0.1.5/lib/logstash/filters/docker_metadata.rb:92:in `filter'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.1-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.1-java/lib/logstash/filters/base.rb:148:in `multi_filter'", "(eval):41:in `filter_func'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.1-java/lib/logstash/pipeline.rb:244:in `filterworker'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.1-java/lib/logstash/pipeline.rb:178:in `start_filters'"], :level=>:error}
Hi,
I tried to use your filter with logstash 2.1.1 unsuccessfully. It fails with the following errors:
Changing the following line fixes the issue for me.
to
Cheers, Matteo