- Version: logstash 1:5.1.2-1
- Operating System: Linux elk-1.domain.net 3.13.0-105-generic #152-Ubuntu SMP Fri Dec 2 15:37:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
- Config File (if you have sensitive info, please remove it):
filter {
mutate {
convert => [ "IsMobile", "boolean" ]
}
}
[2017-02-01T08:01:58,808][ERROR][logstash.pipeline ] Exception in pipelineworker, the pipeline stopped processi
ng new events, please check your filter configuration and restart Logstash. {"exception"=>#<NoMethodError: undefined m
ethod `empty?' for true:TrueClass>, "backtrace"=>["/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-mu
tate-3.1.3/lib/logstash/filters/mutate.rb:284:in `convert_boolean'", "org/jruby/RubyMethod.java:120:in `call'", "/usr/
share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-mutate-3.1.3/lib/logstash/filters/mutate.rb:258:in `conver
t'", "org/jruby/RubyHash.java:1342:in `each'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-mutat
e-3.1.3/lib/logstash/filters/mutate.rb:244:in `convert'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-f
ilter-mutate-3.1.3/lib/logstash/filters/mutate.rb:206:in `filter'", "/usr/share/logstash/logstash-core/lib/logstash/fi
lters/base.rb:145:in `do_filter'", "/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:164:in `multi_filte
r'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:161:in
`multi_filter'", "/usr/share/logstash/logstash-core/lib/logstash/filter_delegator.rb:41:in `multi_filter'", "(eval):6
033:in `initialize'", "org/jruby/RubyArray.java:1613:in `each'", "(eval):6030:in `initialize'", "org/jruby/RubyProc.ja
va:281:in `call'", "(eval):6167:in `initialize'", "org/jruby/RubyArray.java:1613:in `each'", "(eval):6158:in `initiali
ze'", "org/jruby/RubyProc.java:281:in `call'", "(eval):1088:in `filter_func'", "/usr/share/logstash/logstash-core/lib/
logstash/pipeline.rb:295:in `filter_batch'", "org/jruby/RubyProc.java:281:in `call'", "/usr/share/logstash/logstash-co
re/lib/logstash/util/wrapped_synchronous_queue.rb:192:in `each'", "org/jruby/RubyHash.java:1342:in `each'", "/usr/shar
e/logstash/logstash-core/lib/logstash/util/wrapped_synchronous_queue.rb:191:in `each'", "/usr/share/logstash/logstash-
core/lib/logstash/pipeline.rb:294:in `filter_batch'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:282:
in `worker_loop'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:258:in `start_workers'"]}
We are upgrading from 2.4 to 5.1.2 and now we see that logstash fails.
I guess it's a bug in mutate plugin.