Trying to configure email in Kibana, documentation states to modify elasticsearch.yml
elasticsearch\config\elasticsearch.yml
Added the following at the bottom:
xpack.notification.email.account:
account:
smtp:
auth: false
starttls.enable: true
starttls.required: false
host: localhost
port: 25
When I start service and do "test send email" i get error sending email How does one configure emailing for alerts.
Am i editing the right configuration file?
Figured it out. I was able to enable emailing through gmail.
elasticsearch\config\elasticsearch.yml
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
xpack.notification.email.account:
gmail_account:
profile: gmail
smtp:
auth: true
starttls.enable: true
host: smtp.gmail.com
port: 587
user: yourmeail@gmail.com
password: ******* your password
Please what did you put in the email and password field? what email should I put
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.