Watcher configuration error

I am configuring watcher email in elasticsearch yml using this configuration xpack.notification.email.account:
gmail_account:
profile: gmail
smtp:
auth: true
starttls.enable: true
host: smtp.gmail.com
port: 587
user: ****@gmail.com
password: *****

i got this error after running on elasticsearch

unknown secure setting [xpack.notification.email.account.gmail_account.] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
i have tried to add password by using this link
bin/elasticsearch-keystore add xpack.notification.email.account.gmail_account.smtp.secure_password
he ask password i entered the password and run elasticsearch i got the above error which is
unknown secure setting [xpack.notification.email.account.gmail_account.
] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

The setting must include the password name as well. Please share the exact line you tried to save the secure setting, instead of just showing the error message.

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