XPack Email From not Being Updated by Cluster Update Settings API

Hi, my cluster has an xpack.notification.email.account configuration in its elasticsearch.yml file, and email notifications are working fine with it, but when I update the "from" address using the Cluster Update Settings API like this (the email profile is called account):

PUT {
    "persistent": {
        "xpack.notification.email.account.account.email_defaults.from": "NEW_ADDRESS@HOST"
    }
}

I can see that the setting was applied when running GET on the API but new notifications still come from the previous email. Why doesn't the new email address get used?

Oops, nevermind. After searching through the Elasticsearch log I can see that the email I provided to override with contained an illegal character and was rejected.

1 Like

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