ES sniffing in logstash 2.1 vs 2.0


(Steffen Winther Sørensen) #1

Updated from logstash 2.0 to 2.1 on a CentOS 6.7 box and now when launching it I found below issue. Am using sniffing to a ES cluster. Any hints, TIA?

{:timestamp=>"2015-12-10T15:31:31.852000+0100", :message=>"undefined method close' for #<Manticore::Client:0x10046f05>", :class=>"NoMethodError", :backtrace=>["/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/t ransport/transport/http/manticore.rb:115:in__close_connections'", "org/jruby/RubyArray.java:1613:in each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/http/manticore.rb:115:in__cl
ose_connections'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/base.rb:99:in __rebuild_connections'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/ela sticsearch/transport/transport/base.rb:77:inreload_connections!'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.2.0-java/lib/logstash/outputs/elasticsearch/http_client.rb:85:in sniff!'", "/opt/logstash/vendor/bundle/jrub y/1.9/gems/logstash-output-elasticsearch-2.2.0-java/lib/logstash/outputs/elasticsearch/http_client.rb:73:instart_sniffing!'", "org/jruby/ext/thread/Mutex.java:149:in synchronize'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsea rch-2.2.0-java/lib/logstash/outputs/elasticsearch/http_client.rb:73:instart_sniffing!'", "org/jruby/RubyKernel.java:1479:in loop'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.2.0-java/lib/logstash/outputs/elasticsearch /http_client.rb:72:instart_sniffing!'"], :level=>:error}


#2

I'm seeing something similar. I was previously running topbeats (1.0.0) direct into elasticsearch (2.1.0). Just added logstash (2.1.1) in between and getting this error. This is a new build so can't comment on if something has broken or changed between versions.

Setup is pretty much as per the documentation, as I've only just started testing.

I'm on Oracle Linux 6.6


(system) #3