Added documentation for added features
Updated configuration template with if statements for optional features
This commit is contained in:
parent
34f08130e1
commit
7aebcaefa6
2 changed files with 21 additions and 2 deletions
16
README.md
16
README.md
|
|
@ -338,6 +338,7 @@ In addition to es_config, the following parameters allow the customization of th
|
|||
* ```es_start_service``` (true (default) or false)
|
||||
* ```es_plugins_reinstall``` (true or false (default) )
|
||||
* ```es_plugins``` an array of plugin definitions e.g.:
|
||||
* ```es_path_repo``` Sets the whitelist for allowing local back-up repositories
|
||||
```yml
|
||||
es_plugins:
|
||||
- plugin: ingest-geoip
|
||||
|
|
@ -352,7 +353,20 @@ In addition to es_config, the following parameters allow the customization of th
|
|||
|
||||
Earlier examples illustrate the installation of plugins using `es_plugins`. For officially supported plugins no version or source delimiter is required. The plugin script will determine the appropriate plugin version based on the target Elasticsearch version. For community based plugins include the full url. This approach should NOT be used for the X-Pack plugin. See X-Pack below for details here.
|
||||
|
||||
If installing Monitoring or Alerting, ensure the license plugin is also specified. Security configuration is currently not supported but planned for later versions.
|
||||
If installing Monitoring or Alerting, ensure the license plugin is also specified. Security configuration currently has limited support, but more support is planned for later versions.
|
||||
|
||||
To configure X-pack to send mail, the following configuration can be added to the role. When require_auth is true, you will also need to provide the user and password. If not these can be removed:
|
||||
```
|
||||
es_mail_config:
|
||||
account: <functional name>
|
||||
profile: standard
|
||||
from: <from address>
|
||||
require_auth: <true or false>
|
||||
host: <mail domain>
|
||||
port: <port number>
|
||||
user: <e-mail address> --optional
|
||||
pass: <password> --optional
|
||||
```
|
||||
|
||||
* ```es_user``` - defaults to elasticsearch.
|
||||
* ```es_group``` - defaults to elasticsearch.
|
||||
|
|
|
|||
|
|
@ -23,7 +23,9 @@ path.data: {{ data_dirs | array_to_str }}
|
|||
|
||||
path.logs: {{ log_dir }}
|
||||
|
||||
path.repo: {{ path_repo }}
|
||||
{% if es_path_repo %}
|
||||
path.repo: {{ es_path_repo }}
|
||||
{% endif %}
|
||||
|
||||
action.auto_create_index: {{ action_auto_create_index }}
|
||||
|
||||
|
|
@ -60,6 +62,9 @@ xpack.notification.email:
|
|||
auth: {{ es_mail_config['require_auth'] }}
|
||||
host: {{ es_mail_config['host'] }}
|
||||
port: {{ es_mail_config['port'] }}
|
||||
{% if es_mail_config['require_auth'] == true %}
|
||||
user: {{ es_mail_config['user'] }}
|
||||
password: {{ es_mail_config['pass'] }}
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue