This is my config file for logstash email plugin
if "ERROR" in [message] {
email {
to => 'email'
codec => "plain"
from => 'email2'
subject => 'Central logstash alert'
via => 'smtp'
body => 'Here is the event line that occured' #domain => 'localhost'
address => 'smtp.office365.com'
port => 587
use_tls => true
username => 'email'
debug => true
password => 'password'
authentication => 'login'
}
}
and I'm still getting an error for as in the screen shot
This is a permission error on exchange/Office 365, does this user have permission to do this? This is not a logstash error, you can confirm this with the error you are getting: "535 5.7.3 Authentication Unsuccessful" is generated on the email server and not logstash.
Yes but do you want to monitor the actual server itself or the application? We need much more information. What kind of server is it and what metrics do you want to monitor?
The application functions on various levels dataserver and engineserver helps in supporting the application we just need to monitor the servers and notify us if it goes down by mail or so.
If you ignore what I'm asking you to try then I cannot help you, I can't see what your doing so I don't know why its failing hence why I asked you to show you installing it.
Installation is done successfully I figured it out I'm able to gather the response for a specific url but after updating yml file with a new url I'm not getting response for the updated url
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.