Skip to content

Instantly share code, notes, and snippets.

@curzona
Last active August 29, 2015 13:58
logstash failure after standby on windows
OS Name: Microsoft Windows 7 Enterprise
OS Version: 6.1.7601 Service Pack 1 Build 7601
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04, mixed mode)
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (Soc
ketError) send: name or service not known
at org.jruby.ext.socket.RubyUDPSocket.send(org/jruby/ext/socket/RubyUDPS
ocket.java:318)
at RUBY.register(file:/C:/Users/adcurzon/Downloads/logstash-1.3.3/logsta
sh-1.3.3-flatjar.jar!/logstash/outputs/udp.rb:25)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:271)
at RUBY.encode(file:/C:/Users/adcurzon/Downloads/logstash-1.3.3/logstash
-1.3.3-flatjar.jar!/logstash/codecs/json.rb:45)
at RUBY.receive(file:/C:/Users/adcurzon/Downloads/logstash-1.3.3/logstas
h-1.3.3-flatjar.jar!/logstash/outputs/udp.rb:35)
at RUBY.handle(file:/C:/Users/adcurzon/Downloads/logstash-1.3.3/logstash
-1.3.3-flatjar.jar!/logstash/outputs/base.rb:86)
at RUBY.initialize((eval):24)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:271)
at RUBY.output(file:/C:/Users/adcurzon/Downloads/logstash-1.3.3/logstash
-1.3.3-flatjar.jar!/logstash/pipeline.rb:259)
at RUBY.outputworker(file:/C:/Users/adcurzon/Downloads/logstash-1.3.3/lo
gstash-1.3.3-flatjar.jar!/logstash/pipeline.rb:218)
at RUBY.start_outputs(file:/C:/Users/adcurzon/Downloads/logstash-1.3.3/l
ogstash-1.3.3-flatjar.jar!/logstash/pipeline.rb:145)
input {
stdin {
type => 'human'
}
eventlog {
type => 'Win32-EventLog'
logfile => 'System'
}
}
output {
stdout { }
udp {
port => 5959
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment