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:in
header'", "/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:in
read_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:in
invoke'", "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:in
run'", "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..?