[2.3.1] Reload Twitter input conf => undefined method `sample' for nil:NilClass


(Julien Legrand) #1

Hello

I'm using Logstash v2.3.1 with a Twitter input.
I use --auto-reload option to dynamically modify and reload the Twitter input configuration.

If I change twitter input proxy settings (use_proxy, proxy_address and proxy_port), i get an error on reload :

{:timestamp=>"2016-11-07T13:31:16.003000+0100", :message=>"undefined method sample' for nil:NilClass", :exception=>#<NoMethodError: undefined methodsample' for nil:NilClass>, :backtrace=>["/home/cloud-user/logstash-2.3.1/vendor/bundle/jruby/1.9/gems/logstash-input-twitter-2.2.2/lib/logstash/inputs/twitter.rb:123:in run'", "/home/cloud-user/logstash-2.3.1/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:342:ininputworker'", "/home/cloud-user/logstash-2.3.1/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:336:in `start_input'"], :options=>nil, :level=>:warn}

Does anybody already faced this issue ?

Thanks in advance for your help.

Julien


:message=>"undefined method for twitter input plugin
(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.