2016-05-15 38 views
3

MY collectd發送數據的端口25826至logstash數據,但我上運行logstashLogstash未能得到collectd

UDP listener died {:exception=>#<SocketError: bind: name or service not known>, :backtrace=>["org/jruby/ext/socket/RubyUDPSocket.java:160:in `bind'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-udp-2.0.5/lib/logstash/inputs/udp.rb:67:in `udp_listener'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-udp-2.0.5/lib/logstash/inputs/udp.rb:50:in `run'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.2-java/lib/logstash/pipeline.rb:342:in `inputworker'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.2-java/lib/logstash/pipeline.rb:336:in `start_input'"], :level=>:warn} 

任何人都知道該解決方案在這裏出現這個錯誤?

回答

2

得到修復

  • 在Logstash無錯誤集電極collectd未發送數據 通過 collectd啓用的網絡插件添加CONF校正它logstash UDP端口插件collectd.conf,並用logstash主機和udp端口替換主機名。

2

你只需要尋找在Collectd.conf改變主機和端口interfaces插件設置logstash host and udp port