NoMethodError in logstash-input-github plugin

Hi,

I'm testing out Logstash and the logstash-input-github plugin but I'm getting an error on incoming requests:

#<NoMethodError: undefined method `headers_' for #<FTW::Request:0x5a1bfcc2>>
/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-github-3.0.1/lib/logstash/inputs/github.rb:32:in `run'
org/jruby/RubyProc.java:281:in `call'
/usr/share/logstash/vendor/bundle/jruby/1.9/gems/ftw-0.0.44/lib/ftw/webserver.rb:77:in `handle_request'
/usr/share/logstash/vendor/bundle/jruby/1.9/gems/ftw-0.0.44/lib/ftw/webserver.rb:59:in `handle_connection'
/usr/share/logstash/vendor/bundle/jruby/1.9/gems/ftw-0.0.44/lib/ftw/webserver.rb:29:in `run'

I'm using Docker to run Logstash with a simple configuration that takes input from GitHub and outputs it to stdout. My Dockerfile looks like this:

FROM logstash:latest

RUN logstash-plugin install logstash-input-github
COPY logstash.conf /logstash.conf

CMD ["-f", "/logstash.conf"]

And my configuration file looks like this:

input {
  github {
    port => 4455
    codec => "json"
  }
}

filter {
  
}

output {
  stdout {
    codec => "json"
  }
}

Can anyone tell me what's wrong here?

Moved to #logstash

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