Problem to starting logstash


(Lee) #1

Hi.

I set up ELK for logging apache log.

I installed a filebeat at apache server and a logstash 2.1 at log server
when I started a logstash, i got an error message

Logstash startup completed
Beats input: unhandled exception {:exception=>#<RuntimeError: unsupported protocol 80>, :backtrace=>["/app/logstash-2.1.0/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.0.3/lib/lumberjack/beats/server.rb:225:in handle_version'", "/app/logstash-2.1.0/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.0.3/lib/lumberjack/beats/server.rb:210:inheader'", "/app/logstash-2.1.0/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.0.3/lib/lumberjack/beats/server.rb:163:in feed'", "/app/logstash-2.1.0/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.0.3/lib/lumberjack/beats/server.rb:342:inread_socket'", "/app/logstash-2.1.0/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.0.3/lib/lumberjack/beats/server.rb:319:in run'", "/app/logstash-2.1.0/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.0.3/lib/logstash/inputs/beats.rb:184:ininvoke'", "org/jruby/RubyProc.java:271:in call'", "/app/logstash-2.1.0/vendor/bundle/jruby/1.9/gems/concurrent-ruby-0.9.2-java/lib/concurrent/executor/executor_service.rb:515:inrun'", "Concurrent$$JavaExecutorService$$Job_460751317.gen:13:in `run'"], :level=>:error}

This is my logstash configuration.

input {
beats {
port => 11010
}
}

output {
elasticsearch {
hosts => "localhost:9200"
sniffing => true
#protocal => "http"
index => "apache-%{+YYYY.MM.dd}"
}
}

How i fix an error..?


(system) #2