Hi guys
I've got a problem after did upgrade to the latest logstash, elasticsearch and kibana.
Elasticsearch with kibana works fine. I see data, searches, visualisation and dashboards work perfect. But logstash even doesn't start when i set elasticsearch output.
in logstash log i have this stacktrace
{ :timestamp=>"2016-04-20T14:59:51.423000+0000"
, :message=>"Pipeline aborted due to error"
, :exception=>#<NoMethodError: undefined method `set_validate_after_inactivity' for #<Java::OrgApacheHttpImplConn::PoolingHttpClientConnectionManager:0x1b1c4a69>>
, :backtrace=>
[ "/opt/logstash/vendor/bundle/jruby/1.9/gems/manticore-0.5.5-java/lib/manticore/client.rb:403:in `pool'"
, "org/jruby/RubyKernel.java:1858:in `tap'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/manticore-0.5.5-java/lib/manticore/client.rb:402:in `pool'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/manticore-0.5.5-java/lib/manticore/client.rb:208:in `initialize'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/http/manticore.rb:100:in `__build_connections'"
, "org/jruby/RubyArray.java:2414:in `map'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/http/manticore.rb:90:in `__build_connections'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/base.rb:34:in `initialize'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/client.rb:115:in `initialize'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport.rb:26:in `new'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.5-java/lib/logstash/outputs/elasticsearch/http_client.rb:129:in `build_client'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.5-java/lib/logstash/outputs/elasticsearch/http_client.rb:20:in `initialize'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.5-java/lib/logstash/outputs/elasticsearch/http_client_builder.rb:40:in `build'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.5-java/lib/logstash/outputs/elasticsearch.rb:132:in `build_client'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.5.5-java/lib/logstash/outputs/elasticsearch/common.rb:14:in `register'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/output_delegator.rb:75:in `register'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:181:in `start_workers'"
, "org/jruby/RubyArray.java:1613:in `each'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:181:in `start_workers'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:136:in `run'"
, "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/agent.rb:465:in `start_pipeline'"
]
, :level=>:error
}
output config looks simple:
output {
elasticsearch {
hosts => ["10.1.2.3:9200"]
index => "cwl-%{+YYYY.MM.dd}"
document_type => "%{@type}"
workers => 1
}
}
if i use stdout output everything works, when change to elasticsearch - dies. Logstash 1.5 didn't make me such an issue.