Change how Elasticsearch runs by providing your own user settings. User settings are appended to the
elasticsearch.yml configuration file for your cluster and provide custom configuration options. Elastic Cloud Enterprise supports many of the user settings for the version of Elasticsearch that your cluster is running.
Some settings that could break your cluster if set incorrectly are blacklisted, such as certain zen discovery and security settings. For settings that are generally safe in cloud environments, see Additional Examples of Supported User Settings and User Settings that can be enabled on our Elastic Cloud hosted offering.
To add user settings:
- Log into the Cloud UI.
- Click on a cluster name from the Clusters panel and click .
- In the User Settings section, update the user settings.
- Click Save changes.
The following examples configure email notifications to Gmail for a user that you specify. Which example you use depends on the version of Elasticsearch that your cluster is running.
For version 5.0 and later: Use X-Pack to configure an email watch action. To learn more, see Configuring Email Actions.
xpack.notification.email.account: gmail_account: profile: gmail smtp: auth: true starttls.enable: true host: smtp.gmail.com port: 587 user: <username> password: <password>
For versions before 5.0: Use Watcher to configure an email watch action. To learn more, see Configuring Email Actions.
watcher.actions.email.service.account: work: profile: gmail email_defaults: from: <email> smtp: auth: true starttls.enable: true host: smtp.gmail.com port: 587 user: <username> password: <password>
These example user settings cover only a subset of all user settings that you can include in the
elasticsearch.yml configuration file. To learn more about available settings, see Configuring Elasticsearch.
User settings that you might find useful include:
Whitelists the hosts that can be reindexed from remotely. Consists of a comma-delimited list of
host:portentries. Defaults to
- Enables regular expressions for the Painless scripting language.
- X-Pack alerting features (formerly Watcher)
Enables watches, including integration with Slack, HipChat, and PagerDuty. For example:
For version 5.0 and later:
For versions before 5.0:
Remember to check your user settings when performing a major version upgrade. For version 5.0 and later, the syntax for alerts is different when compared to earlier versions, for example.