Skip to content

Commit

Permalink
fixed due to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Jul 13, 2020
1 parent 316cc7b commit 1f4e13e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
3 changes: 0 additions & 3 deletions docs/user/alerting/action-types/email.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ secrets:
user: <email.address>
password: <password>
--------------------------------------------------
// CONSOLE

When sending emails, you have to provide a from address, either a default one
in your account configuration or as part of the email action in the watch.
Expand All @@ -164,7 +163,6 @@ secrets:
user: <username>
password: <password>
--------------------------------------------------
// CONSOLE
<1> `smtp.host` varies depending on the region

NOTE: You need to use your Amazon SES SMTP credentials to send email through
Expand Down Expand Up @@ -193,7 +191,6 @@ secrets:
user: <email address of service account> <2>
password: <password>
--------------------------------------------------
// CONSOLE
<1> Some organizations configure Exchange to validate that the `from` field is a
valid local email account.
<2> Many organizations support use of your email address as your username, though
Expand Down
29 changes: 13 additions & 16 deletions docs/user/alerting/action-types/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,19 @@ Index actions have the following properties:

Document:: The document to index in json format.

The create test index using index API:
Example of the index document for Index Threshold Alert:

[source,js]
--------------------------------------------------
{
"alert_id": "{{alertId}}",
"alert_name": "{{alertName}}",
"alert_instance_id": "{{alertInstanceId}}",
"context_message": "{{context.message}}"
}
--------------------------------------------------

Example of create test index using index API.

[source,js]
--------------------------------------------------
Expand All @@ -76,18 +88,3 @@ PUT test
}
}
--------------------------------------------------
// CONSOLE


Example of the index document for Index Threshold Alert:

[source,js]
--------------------------------------------------
{
"alert_id": "{{alertId}}",
"alert_name": "{{alertName}}",
"alert_instance_id": "{{alertInstanceId}}",
"context_message": "{{context.message}}"
}
--------------------------------------------------
// CONSOLE

0 comments on commit 1f4e13e

Please sign in to comment.