Logstash-output-email Test

We have an on-premises exchange server that I would like to use to send email notifications from logstash

Does anyone have a sample config I could use?

I know the ip of the exchange server, port 25 is open and if SMTP doesn't require authentication do I still need the username and password fields?

The following is not working for me :confused:

email {
                        debug => 'true'
                        to => 'myemail'
                        from => 'elastic@localhost'
                        subject => "test"
                        body => "Test %{message}"
                        address => 'exchangeservername'
                        domain => 'somedomain.local'
                        port => 25
                        via => "smtp"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.