最近在使用elk,配置邮件那个地方卡了好几天。
因为之前是6.5和7.0密码存储方式变了,改为keyStore了,另外关键字:password改为secure_password,
xpack.watcher.enabled: true
xpack.notification.email.account:
work:
profile: standard
email_defaults:
from: xxxx@xxxx.net.cn
smtp:
auth: true
starttls.enable: true
host: smtp.exmail.qq.com
port: 587
user: xxxx@xxxx.net.cn
存储密码到keystore里
bin/kibana-keystore add xpack.notification.email.account.work.smtp.secure_password