Attempting to send an email from the logstash output produces the following error in the output.
email - Something happen while delivering an email {:exception=>#<Net::OpenTimeout: execution expired>}
this is my current setup...
if [enviar_correo] == "true" {
email {
to => "email@outlook.com"
from => "email@outlook.com"
domain => "smtp.office365.com"
address => "smtp.office365.com"
port => 587
username => "email@outlook.com"
password => "passw0rd"
subject => "Alert"
body => "%{correo}"
#authentication => "plain"
use_tls => true
}
}
I would appreciate help.