Step 1 : Login to Splunk localhost account and Navigate to Settings > Server Settings > Email Settings
Step 2 : Email Settings
- Mail host : Provide the smtp server details and port
smtp.gmail.com:587 for Gmail
smtp.mail.yahoo.com:587 for Yahoo
- Email Security : Enable TLS
- User name : Provide your personal mail ID
- Password : Provide your personal mail password / App PASSCODE
Here we need to understand few things.
The personal mail account could have multi factor authentications. Combinations of password and OTP etc.. This could reject Splunk to use the mail account we had assigned. So we could assign an App Passcode for authentication and things made easier.
Reference : configure_app_passcode
... View more