Skip to content

Commit df51125

Browse files
ECE and ECH: added relation between secure settings and user settings (#1190)
Closes elastic/docs-projects#466 I've added an improvement in ECE docs, explaining the relation between the secure settings and standard user settings (when a feature requires both types of settings, secure settings need to be configured first to avoid cluster restarting issues (bootloops) ). Let me know your thoughs, @shainaraskas . I've added cross comments in: - ECE user settings page (important banner because secure settings should be updated first) - ECH user settings page (important banner for the same reason) - Secure settings page (not marked as important). On top of that I've changed the headings of all `examples`, as H2 was showing the titles too big. --------- Co-authored-by: shainaraskas <[email protected]>
1 parent e43e5ec commit df51125

File tree

5 files changed

+37
-16
lines changed

5 files changed

+37
-16
lines changed

deploy-manage/deploy/cloud-enterprise/edit-stack-settings-apm.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ To change APM settings:
6262
If a setting is not supported by {{ece}}, you get an error message when you try to save. We suggest changing one setting with each save, so you know which one is not supported.
6363
::::
6464

65+
## Examples
6566

66-
67-
## Example: Enable RUM and increase the rate limit (legacy) [ece_example_enable_rum_and_increase_the_rate_limit_legacy]
67+
### Enable RUM and increase the rate limit (legacy) [ece_example_enable_rum_and_increase_the_rate_limit_legacy]
6868

6969
When capturing the user interaction with clients with real user monitoring (RUM), particularly for situations with concurrent clients, you can increase the number of times each IP address can send a request to the RUM endpoint. Version 6.5 includes an additional settings for the LRU cache.
7070

@@ -80,7 +80,7 @@ apm-server:
8080
```
8181

8282

83-
## Example: Disable RUM (legacy) [ece_example_disable_rum_legacy]
83+
### Disable RUM (legacy) [ece_example_disable_rum_legacy]
8484

8585
If you know that you won’t be tracking RUM data, you can disable the endpoint proactively.
8686

@@ -91,7 +91,7 @@ apm-server:
9191
```
9292

9393

94-
## Example: Adjust the event limits configuration (legacy) [ece_example_adjust_the_event_limits_configuration_legacy]
94+
### Adjust the event limits configuration (legacy) [ece_example_adjust_the_event_limits_configuration_legacy]
9595

9696
If the size of the HTTP request frequently exceeds the maximum, you might need to change the limit on the APM Server and adjust the relevant settings in the agent.
9797

deploy-manage/deploy/cloud-enterprise/edit-stack-settings-elasticsearch.md

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ mapped_pages:
99

1010
# Add {{es}} user settings [ece-add-user-settings]
1111

12-
Change how {{es}} 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. {{ece}} supports many of the user settings for the version of {{es}} that your cluster is running.
12+
Change how {{es}} 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.
1313

14-
::::{note}
15-
ECE blocks the configuration of certain settings that could break your cluster if misconfigured, including some zen discovery and security settings. For a list of settings that are generally safe in cloud environments, refer to the [{{es}} configuration reference](elasticsearch://reference/elasticsearch/configuration-reference/index.md).
16-
::::
14+
:::{important}
15+
If a feature requires both standard `elasticsearch.yml` settings and [secure settings](/deploy-manage/security/secure-settings.md), configure the secure settings first. Updating standard user settings can trigger a cluster rolling restart, and if the required secure settings are not yet in place, the nodes might fail to start. Adding secure settings does not trigger a restart.
16+
:::
1717

18-
To change {{es}} user settings:
18+
{{ece}} automatically rejects `elasticsearch.yml` settings that could break your cluster, including some zen discovery and security settings.
19+
20+
For a list of supported settings, check [Supported {{es}} settings](elasticsearch://reference/elasticsearch/configuration-reference/index.md).
21+
22+
To add or edit {{es}} user settings:
1923

2024
1. [Log into the Cloud UI](./log-into-cloud-ui.md).
2125
2. On the **Deployments** page, select your deployment.
@@ -31,10 +35,20 @@ To change {{es}} user settings:
3135
If you encounter the **Edit elasticsearch.yml** carets, be sure to make your changes on all {{es}} node types.
3236
::::
3337

34-
## Example: enable email notifications from Gmail [ece_enable_email_notifications_from_gmail]
38+
## Example: enable email notifications [ece_enable_email_notifications_from_gmail]
39+
40+
To enable email notifications in your {{es}} cluster, you need to configure an email account and related settings. For complete instructions, refer to [Configuring email accounts](/explore-analyze/alerts-cases/watcher/actions-email.md#configuring-email).
3541

36-
You can configure email notifications to Gmail for a user that you specify. For details, refer to [Configuring email actions](../../../explore-analyze/alerts-cases/watcher/actions-email.md).
42+
```yaml
43+
xpack.notification.email.account:
44+
gmail_account:
45+
profile: gmail
46+
smtp:
47+
auth: true
48+
starttls.enable: true
49+
host: smtp.gmail.com
50+
port: 587
51+
user: <username>
52+
```
3753
38-
::::{important}
39-
Before you add the `xpack.notification.email*` setting in {{es}} user settings, make sure you add the account SMTP password to the keystore as a [secret value](../../../deploy-manage/security/secure-settings.md).
40-
::::
54+
Before you add the `xpack.notification.email*` user settings, make sure to store the SMTP password in the keystore as a [secure setting](../../../deploy-manage/security/secure-settings.md). In the previous example, use the key `xpack.notification.email.account.gmail_account.smtp.secure_password`.

deploy-manage/deploy/cloud-enterprise/edit-stack-settings-kibana.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ If a setting is not supported by {{ece}}, you will get an error message when you
3838
If you have a license from 2018 or earlier, you might receive a warning that your cluster license is about to expire. Don’t panic, it isn’t really. {{ece}} manages the cluster licenses so that you don’t have to. In rare cases, such as when a cluster is overloaded, it can take longer for {{ece}} to reapply the cluster license. If you have a license from 2019 and later, you’ll receive a warning only when your full platform license is about to expire, which you’ll need to renew.
3939
::::
4040

41+
## Examples
4142

42-
## Example: Increase the timeout for creating reports [ece_example_increase_the_timeout_for_creating_reports]
43+
### Increase the timeout for creating reports [ece_example_increase_the_timeout_for_creating_reports]
4344

4445
When creating reports, you can adjust the number of milliseconds before a worker times out. This is particularly helpful for instances with a slow or heavy load.
4546

@@ -48,7 +49,7 @@ xpack.reporting.queue.timeout: "150000"
4849
```
4950

5051

51-
## Example: Change the truncation point for CSV exports [ece_example_change_the_truncation_point_for_csv_exports]
52+
### Change the truncation point for CSV exports [ece_example_change_the_truncation_point_for_csv_exports]
5253

5354
If large exports are causing performance or storage issues, you can increase the number of bytes before the report truncates from the default 250 MB. For stack versions before 8.10, the default is 10 MB.
5455

deploy-manage/deploy/elastic-cloud/edit-stack-settings.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ From the {{ecloud}} Console you can customize {{es}}, {{kib}}, and related produ
5757

5858
Change how {{es}} runs by providing your own user settings. {{ech}} appends these settings to each node’s `elasticsearch.yml` configuration file.
5959

60+
:::{important}
61+
If a feature requires both standard `elasticsearch.yml` settings and [secure settings](/deploy-manage/security/secure-settings.md), configure the secure settings first. Updating standard user settings can trigger a cluster rolling restart, and if the required secure settings are not yet in place, the nodes may fail to start. In contrast, adding secure settings does not trigger a restart.
62+
:::
63+
6064
{{ech}} automatically rejects `elasticsearch.yml` settings that could break your cluster.
6165

6266
For a list of supported settings, check [Supported {{es}} settings](elasticsearch://reference/elasticsearch/configuration-reference/index.md).

deploy-manage/security/secure-settings.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ The instructions below cover how to manage {{es}} keystore settings for each dep
5858
% ### ECE and ECH
5959
You can manage {{es}} secure settings in the **Security > {{es}} keystore** section of your deployment page in the {{ecloud}} Console or ECE Cloud UI.
6060

61+
If a feature requires both standard `elasticsearch.yml` settings and secure settings, configure the secure settings first. Updating standard settings can trigger a cluster rolling restart, and if the required secure settings are not yet in place, the nodes may fail to start. In contrast, adding secure settings does not trigger a restart.
62+
6163
:::{note}
6264
{{ece}} also supports managing {{es}} keystore of your deployments through its [RESTful API](https://www.elastic.co/docs/api/doc/cloud-enterprise/). Refer to [Configure {{es}} keystore through ECE API](cloud://reference/cloud-enterprise/ece-restful-api-examples-configuring-keystore.md) for an example.
6365
:::

0 commit comments

Comments
 (0)