Hi. I am trying to setup email alerts for my watchers.
I have the following setup in my /etc/elasticsearch/elasticsearch.yml file:
xpack.notification.email.account: elastic@domain.com
profile: gmail
smtp.auth: true
smtp.host: smtp.gmail.com
smtp.port: 587
smtp.user: alerts@domain.com
smtp.password: apassword
smtp.starttls.enable: true
smtp.starttls.required: true
but when I go to restart elasticsearch I see this error message in the startup log and still my watcher shows email as disabled Email. Disabled. Configure elasticsearch.yml.
Suppressed: java.lang.IllegalArgumentException: unknown setting [profile] did you mean [pidfile]?
Suppressed: java.lang.IllegalArgumentException: unknown setting [smtp.user] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
Suppressed: java.lang.IllegalArgumentException: unknown setting [smtp.starttls.required] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
Suppressed: java.lang.IllegalArgumentException: unknown setting [smtp.starttls.enable] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
Suppressed: java.lang.IllegalArgumentException: unknown setting [xpack.notification.email.account] did you mean any of [xpack.notification.email.default_account, xpack.notification.jira.default_account, xpack.notification.slack.default_account]?
Any help will be greatly appreciated!