Hi everyone. I'm a beginner in Logstash and I have some problem with it. It's, returning "The error reported is: undefined method `close' for nil:NilClass". The full report is:
The error reported is:
undefined method close' for nil:NilClass /opt/logstash/vendor/bundle/jruby/1.9/gems/jls-grok-0.11.2/lib/grok-pure.rb:83:in
add_patterns_from_file'
/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.3/lib/logstash/filters/grok.rb:361:in add_patterns_from_files' org/jruby/RubyArray.java:1613:in
each'
/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.3/lib/logstash/filters/grok.rb:357:in add_patterns_from_files' /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.3/lib/logstash/filters/grok.rb:269:in
register'
org/jruby/RubyArray.java:1613:in each' /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.3/lib/logstash/filters/grok.rb:265:in
register'
org/jruby/RubyHash.java:1342:in each' /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.3/lib/logstash/filters/grok.rb:261:in
register'
/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/pipeline.rb:171:in start_workers' org/jruby/RubyArray.java:1613:in
each'
/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/pipeline.rb:171:in start_workers' /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/pipeline.rb:123:in
run'
/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/agent.rb:211:in execute' /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/runner.rb:90:in
run'
org/jruby/RubyProc.java:281:in call' /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/runner.rb:95:in
run'
org/jruby/RubyProc.java:281:in call' /opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.22/lib/stud/task.rb:24:in
initialize'
Config file is too big, to paste it here, but if that's necessary, i'll send it. Thank you