Last active
December 17, 2015 07:58
-
-
Save pauloconnor/5576739 to your computer and use it in GitHub Desktop.
Revisions
-
pauloconnor revised this gist
May 14, 2013 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Restarting input due to exception {:plugin=><LogStash::Inputs::Twitter type=>"tw } Try: twitter { type => "twitter" @@ -17,4 +17,7 @@ twitter { proxy_password =>"" proxy_port => "0" proxy_user => "" } Input thread exception {:plugin=><LogStash::Inputs::Twitter type=>"twitter", user=>"USERNAME", keywords=>["something.com", "@something"], charset=>"UTF-8">, :exception=>#<Errno::ECONNREFUSED: Connection refused - Connection refused>, :backtrace=>["org/jruby/ext/socket/RubyTCPSocket.java:126:in `initialize'", "org/jruby/RubyIO.java:1179:in `open'", "jar:file:/opt/logstash/logstash-1.1.12-flatjar.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:762:in `connect'", "org/jruby/ext/timeout/Timeout.java:105:in `timeout'", "jar:file:/opt/logstash/logstash-1.1.12-flatjar.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:762:in `connect'", "jar:file:/opt/logstash/logstash-1.1.12-flatjar.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:755:in `do_start'", "jar:file:/opt/logstash/logstash-1.1.12-flatjar.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:744:in `start'", "jar:file:/opt/logstash/logstash-1.1.12-flatjar.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1292:in `request'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:104:in `track'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:56:in `run'", "org/jruby/RubyKernel.java:1409:in `loop'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:53:in `run'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/agent.rb:761:in `run_input'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/agent.rb:407:in `start_input'"], :level=>:warn} Restarting input due to exception {:plugin=><LogStash::Inputs::Twitter type=>"twitter", user=>"USERNAME", keywords=>["something.com", "@something"], charset=>"UTF-8">, :level=>:error} -
pauloconnor revised this gist
May 14, 2013 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,20 @@ Input thread exception {:plugin=><LogStash::Inputs::Twitter type=>"twitter", user=>"USERNAME", keywords=>["something.com", "@something"], charset=>"UTF-8">, :exception=>#<NoMethodError: undefined method `value' for nil:NilClass>, :backtrace=>["file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:92:in `track'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:56:in `run'", "org/jruby/RubyKernel.java:1409:in `loop'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:53:in `run'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/agent.rb:761:in `run_input'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/agent.rb:407:in `start_input'"], :level=>:warn} Restarting input due to exception {:plugin=><LogStash::Inputs::Twitter type=>"twitter", user=>"USERNAME", keywords=>["something.com", "@something"], charset=>"UTF-8">, :level=>:error} } Solution: twitter { type => "twitter" user => "USERNAME" password => "PASSWORD" keywords => ["something.com", "@something"] debug => true proxy_host => "" proxy_password =>"" proxy_port => "0" proxy_user => "" } -
pauloconnor created this gist
May 14, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ Input thread exception {:plugin=><LogStash::Inputs::Twitter type=>"twitter", user=>"USERNAME", keywords=>["something.com", "@something"], charset=>"UTF-8">, :exception=>#<NoMethodError: undefined method `value' for nil:NilClass>, :backtrace=>["file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:92:in `track'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:56:in `run'", "org/jruby/RubyKernel.java:1409:in `loop'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/inputs/twitter.rb:53:in `run'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/agent.rb:761:in `run_input'", "file:/opt/logstash/logstash-1.1.12-flatjar.jar!/logstash/agent.rb:407:in `start_input'"], :level=>:warn} Restarting input due to exception {:plugin=><LogStash::Inputs::Twitter type=>"twitter", user=>"USERNAME", keywords=>["something.com", "@something"], charset=>"UTF-8">, :level=>:error} twitter { type => "twitter" user => "USERNAME" password => "PASSWORD" keywords => ["something.com", "@something"] debug => true }