I am getting the following error and looking on web I don't see any resolution , please advise .
[2017-08-14T17:50:54,446][WARN ][logstash.inputs.twitter ] Twitter client error {:message=>"undefined method
filter' for nil:NilClass", :exception=>"NoMethodError", :backtrace=>["/root/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/logstash-input-twitter-3.0.5/lib/logstash/inputs/twitter.rb:138:in
run'", "/root/logstash-5.5.1/logstash-core/lib/logstash/pipeline.rb:456:ininputworker'", "/root/logstash-5.5.1/logstash-core/lib/logstash/pipeline.rb:449:in
start_input'"], :options=>nil}
my conf file is
input {
twitter {
consumer_key => "ytFgKrCUwfxxxx"
consumer_secret => "XRwTqIpERddcDn4vUFfxxxxxxxxxxxxxxxxxxxxxxxx"
oauth_token => "773602797757534208-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
oauth_token_secret => "qctQkQ0qITGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
keywords => ["@Trump"]
full_tweet => true
use_proxy => true
proxy_address => "http://our proxy host name"
proxy_port => 8080
}
}
filter {
}
output {
elasticsearch {
hosts => "hadoop5"
index => "my_tweets"
}