Hi
I would like to send search results from Splunk search to my corporate Outlook domain email address, but it is not working.
I specified the Outlook SMTP server & port (smtp.office365.com:587) and user credentials of company domain at the Splunk email settings, but the email was not sent.
The command used in the search is this.
index=_internal | sendemail to="myemailid@companydomain" server=smtp.office365.com:587
It doesn't matter if the email is sent from Outlook's SMTP server or from Splunk's local host from anywhere, as long as it can be sent.
Information about the Splunk I am using : Splunk Enterprise version 9.0.3
Any ideas are welcomed ! And would be appreciated !
Thank you for contacting me.
Either way using the Alert Trigger Action or from SPL Search is fine.
Hi @acj-ishikawa ..
may i know if you created alert and thru the alert trigger action you want the email notification..
or just from the SPL Search Query, you want to send the email notification?
documentation for alert email notification settings:
https://docs.splunk.com/Documentation/Splunk/9.0.4/Alert/Emailnotification