2017-06-27 12:14:35 -04:00
|
|
|
[role="xpack"]
|
2017-04-06 20:34:23 -04:00
|
|
|
[[notification-settings]]
|
2019-03-14 17:22:06 -04:00
|
|
|
=== {watcher} settings in Elasticsearch
|
2019-04-30 13:46:13 -04:00
|
|
|
|
|
|
|
[subs="attributes"]
|
2017-08-11 13:00:35 -04:00
|
|
|
++++
|
2019-03-14 17:22:06 -04:00
|
|
|
<titleabbrev>{watcher} settings</titleabbrev>
|
2017-08-11 13:00:35 -04:00
|
|
|
++++
|
2017-04-06 20:34:23 -04:00
|
|
|
|
2017-11-16 18:40:51 -05:00
|
|
|
You configure {watcher} settings to set up {watcher} and send notifications via
|
|
|
|
<<email-notification-settings,email>>,
|
|
|
|
<<slack-notification-settings,Slack>>, and
|
|
|
|
<<pagerduty-notification-settings, PagerDuty>>.
|
|
|
|
|
|
|
|
All of these settings can be added to the `elasticsearch.yml` configuration file,
|
|
|
|
with the exception of the secure settings, which you add to the {es} keystore.
|
|
|
|
For more information about creating and updating the {es} keystore, see
|
2018-12-13 08:09:50 -05:00
|
|
|
<<secure-settings>>. Dynamic settings can also be updated across a cluster with the
|
|
|
|
<<cluster-update-settings,cluster update settings API>>.
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
[float]
|
|
|
|
[[general-notification-settings]]
|
2017-06-27 12:14:35 -04:00
|
|
|
==== General Watcher Settings
|
2017-04-06 20:34:23 -04:00
|
|
|
`xpack.watcher.enabled`::
|
2017-10-13 04:22:21 -04:00
|
|
|
Set to `false` to disable {watcher} on the node.
|
2017-04-06 20:34:23 -04:00
|
|
|
|
2018-03-22 13:57:31 -04:00
|
|
|
`xpack.watcher.encrypt_sensitive_data`::
|
2017-11-16 18:40:51 -05:00
|
|
|
Set to `true` to encrypt sensitive data. If this setting is enabled, you
|
2017-11-20 11:44:43 -05:00
|
|
|
must also specify the `xpack.watcher.encryption_key` setting. For more
|
2019-09-30 13:18:50 -04:00
|
|
|
information, see <<encrypting-data>>.
|
2017-11-16 18:40:51 -05:00
|
|
|
|
|
|
|
`xpack.watcher.encryption_key` (<<secure-settings,Secure>>)::
|
|
|
|
Specifies the path to a file that contains a key for encrypting sensitive data.
|
|
|
|
If `xpack.watcher.encrypt_sensitive_data` is set to `true`, this setting is
|
2019-09-30 13:18:50 -04:00
|
|
|
required. For more information, see <<encrypting-data>>.
|
2017-11-16 18:40:51 -05:00
|
|
|
|
2017-10-25 19:35:20 -04:00
|
|
|
`xpack.watcher.history.cleaner_service.enabled`::
|
2019-05-01 15:53:50 -04:00
|
|
|
added:[6.3.0,Default changed to `true`.]
|
|
|
|
deprecated:[7.0.0,Watcher history indices are now managed by the `watch-history-ilm-policy` ILM policy]
|
2018-02-22 13:20:53 -05:00
|
|
|
+
|
|
|
|
Set to `true` (default) to enable the cleaner service. If this setting is
|
|
|
|
`true`, the `xpack.monitoring.enabled` setting must also be set to `true` with
|
|
|
|
a local exporter enabled. The cleaner service removes previous versions of
|
|
|
|
{watcher} indices (for example, `.watcher-history*`) when it determines that
|
|
|
|
they are old. The duration of {watcher} indices is determined by the
|
|
|
|
`xpack.monitoring.history.duration` setting, which defaults to 7 days. For
|
|
|
|
more information about that setting, see <<monitoring-settings>>.
|
2017-10-25 19:35:20 -04:00
|
|
|
|
2017-04-06 20:34:23 -04:00
|
|
|
`xpack.http.proxy.host`::
|
|
|
|
Specifies the address of the proxy server to use to connect to HTTP services.
|
|
|
|
|
|
|
|
`xpack.http.proxy.port`::
|
|
|
|
Specifies the port number to use to connect to the proxy server.
|
|
|
|
|
2017-07-31 11:27:10 -04:00
|
|
|
`xpack.http.default_connection_timeout`::
|
|
|
|
The maximum period to wait until abortion of the request, when a
|
|
|
|
connection is being initiated.
|
|
|
|
|
|
|
|
`xpack.http.default_read_timeout`::
|
|
|
|
The maximum period of inactivity between two data packets, before the
|
|
|
|
request is aborted.
|
|
|
|
|
2017-04-06 20:57:33 -04:00
|
|
|
`xpack.http.max_response_size`::
|
2018-09-17 15:35:55 -04:00
|
|
|
Specifies the maximum size an HTTP response is allowed to have, defaults to
|
2017-07-31 11:27:10 -04:00
|
|
|
`10mb`, the maximum configurable value is `50mb`.
|
2017-04-06 20:57:33 -04:00
|
|
|
|
2019-01-11 03:22:47 -05:00
|
|
|
`xpack.http.whitelist`::
|
|
|
|
A list of URLs, that the internal HTTP client is allowed to connect to. This
|
2019-02-25 17:08:46 -05:00
|
|
|
client is used in the HTTP input, the webhook, the slack, pagerduty,
|
2019-01-11 03:22:47 -05:00
|
|
|
and jira actions. This setting can be updated dynamically. It defaults to `*`
|
|
|
|
allowing everything. Note: If you configure this setting and you are using one
|
2019-02-25 17:08:46 -05:00
|
|
|
of the slack/pagerduty actions, you have to ensure that the
|
2019-01-11 03:22:47 -05:00
|
|
|
corresponding endpoints are whitelisted as well.
|
|
|
|
|
2017-04-06 20:34:23 -04:00
|
|
|
[[ssl-notification-settings]]
|
|
|
|
:ssl-prefix: xpack.http
|
2019-08-22 20:13:51 -04:00
|
|
|
:component: {watcher} HTTP
|
2017-04-06 20:34:23 -04:00
|
|
|
:verifies:
|
|
|
|
:server!:
|
2019-05-29 08:24:25 -04:00
|
|
|
:ssl-context: watcher
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
include::ssl-settings.asciidoc[]
|
|
|
|
|
|
|
|
[float]
|
|
|
|
[[email-notification-settings]]
|
2017-06-27 12:14:35 -04:00
|
|
|
==== Email Notification Settings
|
|
|
|
You can configure the following email notification settings in
|
|
|
|
`elasticsearch.yml`. For more information about sending notifications
|
2019-09-30 13:18:50 -04:00
|
|
|
via email, see <<configuring-email-actions>>.
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
`xpack.notification.email.account`::
|
2017-06-27 12:14:35 -04:00
|
|
|
Specifies account information for sending notifications via email. You
|
2017-04-06 20:34:23 -04:00
|
|
|
can specify the following email account attributes:
|
2019-04-30 09:25:04 -04:00
|
|
|
+
|
|
|
|
--
|
2017-04-06 20:34:23 -04:00
|
|
|
[[email-account-attributes]]
|
2019-04-30 09:25:04 -04:00
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`profile` (<<cluster-update-settings,Dynamic>>);;
|
2019-09-30 13:18:50 -04:00
|
|
|
The <<configuring-email,email profile>> to use to build the MIME
|
2017-06-27 12:14:35 -04:00
|
|
|
messages that are sent from the account. Valid values: `standard`, `gmail` and
|
2017-04-06 20:34:23 -04:00
|
|
|
`outlook`. Defaults to `standard`.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`email_defaults.*` (<<cluster-update-settings,Dynamic>>);;
|
2017-06-27 12:14:35 -04:00
|
|
|
An optional set of email attributes to use as defaults
|
2019-09-30 13:18:50 -04:00
|
|
|
for the emails sent from the account. See
|
|
|
|
<<email-action-attributes>> for the supported
|
|
|
|
attributes.
|
2017-04-06 20:34:23 -04:00
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.auth` (<<cluster-update-settings,Dynamic>>);;
|
2017-06-27 12:14:35 -04:00
|
|
|
Set to `true` to attempt to authenticate the user using the
|
2017-04-06 20:34:23 -04:00
|
|
|
AUTH command. Defaults to `false`.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.host` (<<cluster-update-settings,Dynamic>>);;
|
2017-04-06 20:34:23 -04:00
|
|
|
The SMTP server to connect to. Required.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.port` (<<cluster-update-settings,Dynamic>>);;
|
2017-04-06 20:34:23 -04:00
|
|
|
The SMTP server port to connect to. Defaults to 25.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.user` (<<cluster-update-settings,Dynamic>>);;
|
2017-04-06 20:34:23 -04:00
|
|
|
The user name for SMTP. Required.
|
|
|
|
|
2019-01-20 05:51:24 -05:00
|
|
|
`smtp.secure_password` (<<secure-settings,Secure>>);;
|
2017-04-06 20:34:23 -04:00
|
|
|
The password for the specified SMTP user.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.starttls.enable` (<<cluster-update-settings,Dynamic>>);;
|
2017-06-27 12:14:35 -04:00
|
|
|
Set to `true` to enable the use of the `STARTTLS`
|
|
|
|
command (if supported by the server) to switch the connection to a
|
|
|
|
TLS-protected connection before issuing any login commands. Note that
|
|
|
|
an appropriate trust store must configured so that the client will
|
2017-04-06 20:34:23 -04:00
|
|
|
trust the server's certificate. Defaults to `false`.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.starttls.required` (<<cluster-update-settings,Dynamic>>);;
|
Watcher: Reenable email property settings (elastic/x-pack-elasticsearch#4319)
With the change of requiring to configure account settings properly by
using affix settings, we forgot another special snowflake, namely the
configuration of mail properties, which can be arbitrary in the
configuration. Those properties are used when an email is sent.
This commit adds a few (but not all of those) options back and removes
the link in the documentation to refer to all of those settings.
Some settings are useless, as they only change the execution
expectations when a mail is sent, which the watch has control over.
The following settings are supported
* smtp.{host,port,user,password}
* smtp.auth
* smtp.starttls.{enable,required}
* smtp.{timeout,connection_timeout,write_timeout}
* smtp.{local_address,local_port}
* smtp.send_partial
* smtp.wait_on_quit
relates elastic/x-pack-elasticsearch#4048
Original commit: elastic/x-pack-elasticsearch@39d56247103a3b0cb97b397af10b71c8c236bc20
2018-04-09 09:42:16 -04:00
|
|
|
If `true`, then `STARTTLS` will be required. If that command fails, the
|
|
|
|
connection will fail. Defaults to `false`.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.ssl.trust` (<<cluster-update-settings,Dynamic>>);;
|
2018-10-04 03:53:55 -04:00
|
|
|
A list of SMTP server hosts that are assumed trusted and for which
|
|
|
|
certificate verification is disabled. If set to "*", all hosts are
|
|
|
|
trusted. If set to a whitespace separated list of hosts, those hosts
|
|
|
|
are trusted. Otherwise, trust depends on the certificate the server
|
|
|
|
presents.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.timeout` (<<cluster-update-settings,Dynamic>>);;
|
Watcher: Reenable email property settings (elastic/x-pack-elasticsearch#4319)
With the change of requiring to configure account settings properly by
using affix settings, we forgot another special snowflake, namely the
configuration of mail properties, which can be arbitrary in the
configuration. Those properties are used when an email is sent.
This commit adds a few (but not all of those) options back and removes
the link in the documentation to refer to all of those settings.
Some settings are useless, as they only change the execution
expectations when a mail is sent, which the watch has control over.
The following settings are supported
* smtp.{host,port,user,password}
* smtp.auth
* smtp.starttls.{enable,required}
* smtp.{timeout,connection_timeout,write_timeout}
* smtp.{local_address,local_port}
* smtp.send_partial
* smtp.wait_on_quit
relates elastic/x-pack-elasticsearch#4048
Original commit: elastic/x-pack-elasticsearch@39d56247103a3b0cb97b397af10b71c8c236bc20
2018-04-09 09:42:16 -04:00
|
|
|
The socket read timeout. Default is two minutes.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.connection_timeout` (<<cluster-update-settings,Dynamic>>);;
|
Watcher: Reenable email property settings (elastic/x-pack-elasticsearch#4319)
With the change of requiring to configure account settings properly by
using affix settings, we forgot another special snowflake, namely the
configuration of mail properties, which can be arbitrary in the
configuration. Those properties are used when an email is sent.
This commit adds a few (but not all of those) options back and removes
the link in the documentation to refer to all of those settings.
Some settings are useless, as they only change the execution
expectations when a mail is sent, which the watch has control over.
The following settings are supported
* smtp.{host,port,user,password}
* smtp.auth
* smtp.starttls.{enable,required}
* smtp.{timeout,connection_timeout,write_timeout}
* smtp.{local_address,local_port}
* smtp.send_partial
* smtp.wait_on_quit
relates elastic/x-pack-elasticsearch#4048
Original commit: elastic/x-pack-elasticsearch@39d56247103a3b0cb97b397af10b71c8c236bc20
2018-04-09 09:42:16 -04:00
|
|
|
The socket connection timeout. Default is two minutes.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.write_timeout` (<<cluster-update-settings,Dynamic>>);;
|
Watcher: Reenable email property settings (elastic/x-pack-elasticsearch#4319)
With the change of requiring to configure account settings properly by
using affix settings, we forgot another special snowflake, namely the
configuration of mail properties, which can be arbitrary in the
configuration. Those properties are used when an email is sent.
This commit adds a few (but not all of those) options back and removes
the link in the documentation to refer to all of those settings.
Some settings are useless, as they only change the execution
expectations when a mail is sent, which the watch has control over.
The following settings are supported
* smtp.{host,port,user,password}
* smtp.auth
* smtp.starttls.{enable,required}
* smtp.{timeout,connection_timeout,write_timeout}
* smtp.{local_address,local_port}
* smtp.send_partial
* smtp.wait_on_quit
relates elastic/x-pack-elasticsearch#4048
Original commit: elastic/x-pack-elasticsearch@39d56247103a3b0cb97b397af10b71c8c236bc20
2018-04-09 09:42:16 -04:00
|
|
|
The socket write timeout. Default is two minutes.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.local_address` (<<cluster-update-settings,Dynamic>>);;
|
Watcher: Reenable email property settings (elastic/x-pack-elasticsearch#4319)
With the change of requiring to configure account settings properly by
using affix settings, we forgot another special snowflake, namely the
configuration of mail properties, which can be arbitrary in the
configuration. Those properties are used when an email is sent.
This commit adds a few (but not all of those) options back and removes
the link in the documentation to refer to all of those settings.
Some settings are useless, as they only change the execution
expectations when a mail is sent, which the watch has control over.
The following settings are supported
* smtp.{host,port,user,password}
* smtp.auth
* smtp.starttls.{enable,required}
* smtp.{timeout,connection_timeout,write_timeout}
* smtp.{local_address,local_port}
* smtp.send_partial
* smtp.wait_on_quit
relates elastic/x-pack-elasticsearch#4048
Original commit: elastic/x-pack-elasticsearch@39d56247103a3b0cb97b397af10b71c8c236bc20
2018-04-09 09:42:16 -04:00
|
|
|
A configurable local address when sending emails. Not configured by default.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.local_port` (<<cluster-update-settings,Dynamic>>);;
|
Watcher: Reenable email property settings (elastic/x-pack-elasticsearch#4319)
With the change of requiring to configure account settings properly by
using affix settings, we forgot another special snowflake, namely the
configuration of mail properties, which can be arbitrary in the
configuration. Those properties are used when an email is sent.
This commit adds a few (but not all of those) options back and removes
the link in the documentation to refer to all of those settings.
Some settings are useless, as they only change the execution
expectations when a mail is sent, which the watch has control over.
The following settings are supported
* smtp.{host,port,user,password}
* smtp.auth
* smtp.starttls.{enable,required}
* smtp.{timeout,connection_timeout,write_timeout}
* smtp.{local_address,local_port}
* smtp.send_partial
* smtp.wait_on_quit
relates elastic/x-pack-elasticsearch#4048
Original commit: elastic/x-pack-elasticsearch@39d56247103a3b0cb97b397af10b71c8c236bc20
2018-04-09 09:42:16 -04:00
|
|
|
A configurable local port when sending emails. Not configured by default.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.send_partial` (<<cluster-update-settings,Dynamic>>);;
|
Watcher: Reenable email property settings (elastic/x-pack-elasticsearch#4319)
With the change of requiring to configure account settings properly by
using affix settings, we forgot another special snowflake, namely the
configuration of mail properties, which can be arbitrary in the
configuration. Those properties are used when an email is sent.
This commit adds a few (but not all of those) options back and removes
the link in the documentation to refer to all of those settings.
Some settings are useless, as they only change the execution
expectations when a mail is sent, which the watch has control over.
The following settings are supported
* smtp.{host,port,user,password}
* smtp.auth
* smtp.starttls.{enable,required}
* smtp.{timeout,connection_timeout,write_timeout}
* smtp.{local_address,local_port}
* smtp.send_partial
* smtp.wait_on_quit
relates elastic/x-pack-elasticsearch#4048
Original commit: elastic/x-pack-elasticsearch@39d56247103a3b0cb97b397af10b71c8c236bc20
2018-04-09 09:42:16 -04:00
|
|
|
Send an email, despite one of the receiver addresses being invalid.
|
|
|
|
|
2018-12-13 08:09:50 -05:00
|
|
|
`smtp.wait_on_quit` (<<cluster-update-settings,Dynamic>>);;
|
Watcher: Reenable email property settings (elastic/x-pack-elasticsearch#4319)
With the change of requiring to configure account settings properly by
using affix settings, we forgot another special snowflake, namely the
configuration of mail properties, which can be arbitrary in the
configuration. Those properties are used when an email is sent.
This commit adds a few (but not all of those) options back and removes
the link in the documentation to refer to all of those settings.
Some settings are useless, as they only change the execution
expectations when a mail is sent, which the watch has control over.
The following settings are supported
* smtp.{host,port,user,password}
* smtp.auth
* smtp.starttls.{enable,required}
* smtp.{timeout,connection_timeout,write_timeout}
* smtp.{local_address,local_port}
* smtp.send_partial
* smtp.wait_on_quit
relates elastic/x-pack-elasticsearch#4048
Original commit: elastic/x-pack-elasticsearch@39d56247103a3b0cb97b397af10b71c8c236bc20
2018-04-09 09:42:16 -04:00
|
|
|
If set to false the QUIT command is sent and the connection closed. If set to
|
|
|
|
true, the QUIT command is sent and a reply is waited for. True by default.
|
2019-04-30 09:25:04 -04:00
|
|
|
--
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
`xpack.notification.email.html.sanitization.allow`::
|
|
|
|
Specifies the HTML elements that are allowed in email notifications. For
|
2019-09-30 13:18:50 -04:00
|
|
|
more information, see
|
|
|
|
<<email-html-sanitization>>. You can
|
|
|
|
specify individual HTML elements and the following HTML feature groups:
|
2019-04-30 09:25:04 -04:00
|
|
|
+
|
|
|
|
--
|
2017-04-06 20:34:23 -04:00
|
|
|
[[html-feature-groups]]
|
2019-04-30 09:25:04 -04:00
|
|
|
|
2017-06-27 12:14:35 -04:00
|
|
|
`_tables`;;
|
|
|
|
All table related elements: `<table>`, `<th>`, `<tr>`
|
2017-04-06 20:34:23 -04:00
|
|
|
and `<td>`.
|
|
|
|
|
2017-06-27 12:14:35 -04:00
|
|
|
`_blocks`;;
|
2017-04-06 20:34:23 -04:00
|
|
|
The following block elements: `<p>`, `<div>`, `<h1>`,
|
|
|
|
`<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<ul>`, `<ol>`,
|
|
|
|
`<li>`, and `<blockquote>`.
|
|
|
|
|
2017-06-27 12:14:35 -04:00
|
|
|
`_formatting`;;
|
2017-04-06 20:34:23 -04:00
|
|
|
The following inline formatting elements: `<b>`, `<i>`,
|
|
|
|
`<s>`, `<u>`, `<o>`, `<sup>`, `<sub>`, `<ins>`, `<del>`,
|
|
|
|
`<strong>`, `<strike>`, `<tt>`, `<code>`, `<big>`,
|
|
|
|
`<small>`, `<br>`, `<span>`, and `<em>`.
|
|
|
|
|
2017-06-27 12:14:35 -04:00
|
|
|
`_links`;;
|
2017-04-06 20:34:23 -04:00
|
|
|
The `<a>` element with an `href` attribute that points
|
|
|
|
to a URL using the following protocols: `http`, `https`
|
|
|
|
and `mailto`.
|
2017-06-27 12:14:35 -04:00
|
|
|
|
|
|
|
`_styles`;;
|
2017-04-06 20:34:23 -04:00
|
|
|
The `style` attribute on all elements. Note that CSS
|
|
|
|
attributes are also sanitized to prevent XSS attacks.
|
|
|
|
|
|
|
|
`img`;;
|
2017-06-27 12:14:35 -04:00
|
|
|
`img:all`;;
|
2017-04-06 20:34:23 -04:00
|
|
|
All images (external and embedded).
|
|
|
|
|
2017-06-27 12:14:35 -04:00
|
|
|
`img:embedded`;;
|
2017-04-06 20:34:23 -04:00
|
|
|
Only embedded images. Embedded images can only use the
|
|
|
|
`cid:` URL protocol in their `src` attribute.
|
2019-04-30 09:25:04 -04:00
|
|
|
--
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
`xpack.notification.email.html.sanitization.disallow`::
|
2017-06-27 12:14:35 -04:00
|
|
|
Specifies the HTML elements that are NOT allowed in email notifications.
|
|
|
|
You can specify individual HTML elements and <<html-feature-groups,
|
2017-04-06 20:34:23 -04:00
|
|
|
HTML feature groups>>.
|
|
|
|
|
2017-06-27 12:14:35 -04:00
|
|
|
`xpack.notification.email.html.sanitization.enabled` ::
|
|
|
|
Set to `false` to completely disable HTML sanitation. Not recommended.
|
2017-04-06 20:34:23 -04:00
|
|
|
Defaults to `true`.
|
|
|
|
|
2019-08-22 20:13:51 -04:00
|
|
|
[[ssl-notification-smtp-settings]]
|
|
|
|
:ssl-prefix: xpack.notification.email
|
|
|
|
:component: {watcher} Email
|
|
|
|
:verifies:
|
|
|
|
:server!:
|
|
|
|
:ssl-context: watcher-email
|
|
|
|
|
|
|
|
include::ssl-settings.asciidoc[]
|
|
|
|
|
2017-04-06 20:34:23 -04:00
|
|
|
[float]
|
|
|
|
[[slack-notification-settings]]
|
2017-06-27 12:14:35 -04:00
|
|
|
==== Slack Notification Settings
|
2017-04-06 20:34:23 -04:00
|
|
|
You can configure the following Slack notification settings in
|
|
|
|
`elasticsearch.yml`. For more information about sending notifications
|
2019-09-30 13:18:50 -04:00
|
|
|
via Slack, see <<configuring-slack-actions>>.
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
`xpack.notification.slack` ::
|
|
|
|
Specifies account information for sending notifications
|
|
|
|
via Slack. You can specify the following Slack account attributes:
|
2019-04-30 09:25:04 -04:00
|
|
|
+
|
|
|
|
--
|
2017-04-06 20:34:23 -04:00
|
|
|
[[slack-account-attributes]]
|
|
|
|
|
2019-01-20 05:51:24 -05:00
|
|
|
`secure_url` (<<secure-settings,Secure>>);;
|
|
|
|
The Incoming Webhook URL to use to post messages to Slack. Required.
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
`message_defaults.from`;;
|
|
|
|
The sender name to display in the
|
|
|
|
Slack message. Defaults to the watch ID.
|
|
|
|
|
|
|
|
`message_defaults.to`;;
|
|
|
|
The default Slack channels or groups you
|
|
|
|
want to send messages to.
|
|
|
|
|
|
|
|
`message_defaults.icon`;;
|
|
|
|
The icon to display in the Slack messages.
|
|
|
|
Overrides the incoming webhook's configured
|
|
|
|
icon. Accepts a public URL to an image.
|
|
|
|
|
|
|
|
`message_defaults.text`;;
|
|
|
|
The default message content.
|
|
|
|
|
|
|
|
`message_defaults.attachment`;;
|
|
|
|
Default message attachments. Slack message attachments
|
|
|
|
enable you to create more richly-formatted messages.
|
|
|
|
Specified as an array as defined in the
|
|
|
|
https://api.slack.com/docs/attachments[
|
|
|
|
Slack attachments documentation].
|
2019-04-30 09:25:04 -04:00
|
|
|
--
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
[float]
|
|
|
|
[[jira-notification-settings]]
|
2017-06-27 12:14:35 -04:00
|
|
|
==== Jira Notification Settings
|
2017-04-06 20:34:23 -04:00
|
|
|
You can configure the following Jira notification settings in
|
|
|
|
`elasticsearch.yml`. For more information about using notifications
|
2019-09-30 13:18:50 -04:00
|
|
|
to create issues in Jira, see <<configuring-jira-actions>>.
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
`xpack.notification.jira` ::
|
|
|
|
Specifies account information for using notifications to create
|
|
|
|
issues in Jira. You can specify the following Jira account attributes:
|
2019-04-30 09:25:04 -04:00
|
|
|
+
|
|
|
|
--
|
2017-04-06 20:34:23 -04:00
|
|
|
[[jira-account-attributes]]
|
|
|
|
|
2019-01-20 05:51:24 -05:00
|
|
|
`secure_url` (<<secure-settings,Secure>>);;
|
2017-04-06 20:34:23 -04:00
|
|
|
The URL of the Jira Software server. Required.
|
|
|
|
|
2019-01-20 05:51:24 -05:00
|
|
|
`secure_user` (<<secure-settings,Secure>>);;
|
2017-04-06 20:34:23 -04:00
|
|
|
The name of the user to connect to the Jira Software server. Required.
|
|
|
|
|
2019-01-20 05:51:24 -05:00
|
|
|
`secure_password` (<<secure-settings,Secure>>);;
|
2017-04-06 20:34:23 -04:00
|
|
|
The password of the user to connect to the Jira Software server. Required.
|
|
|
|
|
|
|
|
`issue_defaults`;;
|
|
|
|
Default fields values for the issue created in Jira. See
|
2019-09-30 13:18:50 -04:00
|
|
|
<<jira-action-attributes>> for more information.
|
2017-04-06 20:34:23 -04:00
|
|
|
Optional.
|
2019-04-30 09:25:04 -04:00
|
|
|
--
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
[float]
|
|
|
|
[[pagerduty-notification-settings]]
|
2017-06-27 12:14:35 -04:00
|
|
|
==== PagerDuty Notification Settings
|
|
|
|
You can configure the following PagerDuty notification settings in
|
|
|
|
`elasticsearch.yml`. For more information about sending notifications
|
2019-09-30 13:18:50 -04:00
|
|
|
via PagerDuty, see <<configuring-pagerduty-actions>>.
|
2017-04-06 20:34:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
[[pagerduty-account-attributes]]
|
|
|
|
`xpack.notification.pagerduty`::
|
|
|
|
Specifies account information for sending notifications
|
|
|
|
via PagerDuty. You can specify the following PagerDuty account attributes:
|
2019-04-30 09:25:04 -04:00
|
|
|
+
|
|
|
|
--
|
2019-05-24 13:39:29 -04:00
|
|
|
`name`;;
|
|
|
|
A name for the PagerDuty account associated with the API key you
|
|
|
|
are using to access PagerDuty. Required.
|
|
|
|
|
|
|
|
`secure_service_api_key` (<<secure-settings,Secure>>);;
|
|
|
|
The https://developer.pagerduty.com/documentation/rest/authentication[
|
|
|
|
PagerDuty API key] to use to access PagerDuty. Required.
|
|
|
|
--
|
|
|
|
+
|
|
|
|
`event_defaults`;;
|
2019-09-30 13:18:50 -04:00
|
|
|
Default values for
|
|
|
|
<<pagerduty-event-trigger-incident-attributes,PagerDuty event attributes>>.
|
|
|
|
Optional.
|
2019-05-24 13:39:29 -04:00
|
|
|
+
|
|
|
|
--
|
|
|
|
`description`::
|
|
|
|
A string that contains the default description for PagerDuty events.
|
|
|
|
If no default is configured, each PagerDuty action must specify a
|
|
|
|
`description`.
|
|
|
|
|
|
|
|
`incident_key`::
|
|
|
|
A string that contains the default incident key to use when sending
|
|
|
|
PagerDuty events.
|
|
|
|
|
|
|
|
`client`::
|
|
|
|
A string that specifies the default monitoring client.
|
|
|
|
|
|
|
|
`client_url`::
|
|
|
|
The URL of the default monitoring client.
|
|
|
|
|
|
|
|
`event_type`::
|
|
|
|
The default event type. Valid values: `trigger`,`resolve`, `acknowledge`.
|
|
|
|
|
|
|
|
`attach_payload`::
|
|
|
|
Whether or not to provide the watch payload as context for
|
|
|
|
the event by default. Valid values: `true`, `false`.
|
2019-08-22 20:13:51 -04:00
|
|
|
--
|