I am a new user of lostash and elastichsearch. I want to collection logs of network devices by snmptrap. I have a problem with logstash. Please help me!!!
+logstash.log
{:timestamp=>"2014-12-12T16:17:28.744000+0700", :message=>"SNMP Trap listener died", :exception=>#, :backtrace=>["org/jruby/ext/socket/RubyUDPSocket.java:160:in
bind'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.1.1/lib/snmp/manager.rb:527:in
initialize'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.1.1/lib/snmp/manager.rb:572:increate_transport'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.1.1/lib/snmp/manager.rb:605:in
initialize'", "/opt/logstash/lib/logstash/inputs/snmptrap.rb:69:insnmptrap_listener'", "/opt/logstash/lib/logstash/inputs/snmptrap.rb:54:in
run'", "/opt/logstash/lib/logstash/pipeline.rb:163:ininputworker'", "/opt/logstash/lib/logstash/pipeline.rb:157:in
start_input'"], :level=>:warn}
- logstash.conf
input { snmptrap { type => "snmptrap" port => 162 host => "0.0.0.0" community => "test" } } output { elasticsearch { host => "10.100.28.29" } }
p/s: sorry by bad english.