}
Errno::ECONNREFUSED: Connection refused - Connection refused
initialize at org/jruby/ext/socket/RubyTCPSocket.java:126
open at org/jruby/RubyIO.java:1179
tcp_socket at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:541
do_start at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:550
timeout at org/jruby/ext/timeout/Timeout.java:126
do_start at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:550
start at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:520
deliver! at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112
deliver! at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/mail-2.6.3/lib/mail/message.rb:252
receive at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-output-email-1.0.0/lib/logstash/outputs/email.rb:250
handle at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.2.2-java/lib/logstash/outputs/base.rb:88
output_func at (eval):27
outputworker at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.2.2-java/lib/logstash/pipeline.rb:243
start_outputs at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.2.2-java/lib/logstash/pipeline.rb:165
but now i got this error:
Timeout::Error: Timeout::Error
rbuf_fill at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/protocol.rb:146
readuntil at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/protocol.rb:122
readline at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/protocol.rb:132
recv_response at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:930
do_start at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:553
critical at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:940
do_start at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:553
start at C:/java/logstash-1.5.2/vendor/jruby/lib/ruby/1.9/net/smtp.rb:520
deliver! at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112
deliver! at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/mail-2.6.3/lib/mail/message.rb:252
receive at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-output-email-1.0.0/lib/logstash/outputs/email.rb:250
handle at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.2.2-java/lib/logstash/outputs/base.rb:88
output_func at (eval):27
outputworker at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.2.2-java/lib/logstash/pipeline.rb:243
start_outputs at C:/java/logstash-1.5.2/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.2.2-java/lib/logstash/pipeline.rb:165
If the starttls option as the name suggests selects whether to use STARTTLS or not I suspect you should be using port 587 instead. Port 465 is for SMTPS, i.e. SMTP over SSL.
my config works fine, but i need send each event (winlogbeat critical events) at email and in elasticsearch index.
Can i configure .conf file to do this (send one event in two places) ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.