elastic / elastic/logstash

Twitter Logstash - undefined method `filter' for nil:NilClass

Open
#5,834 12 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

Hi all,

I am working on utilizing the ELK stack to do some live Twitter research and I am running into some issues when utilizing large tracks.
I know by Twitter's standards, the track size has a limit of 400 terms with a byte size of each term between 1 and 60 bytes.

I have checked my "track" in the configuration file and I am using 220 unique terms.

I do notice that if I keep my "track" REALLY short (like less than ten terms) I don't seem to run into this issue.

So my issues are,
1. How do I fix the error?
2. This error doesn't seem to match the scenario, thoughts?
- Version: 2.3.4
- Operating System: OSX
- Config File: http://hastebin.com/ovasusufos.coffee
- Full Error:
`undefined method 'filter' for nil:NilClass {:exception=>#, :backtrace=>["/Users/.../logstash-2.3.4/vendor/bundle/jruby/1.9/gems/logstash-input-twitter-2.2.2/lib/logstash/inputs/twitter.rb:128:in 'run'", "/Users/.../logstash-2.3.4/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:342:in '
'inputworker'", "/Users/.../logstash-2.3.4/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:336:in 'start_input'"], :options=>nil, :level=>:warn}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.