-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The last example on the page is not valid json. Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
3216fce
commit b3bccc2
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -661,16 +661,16 @@ Below is an example of an alert that takes advantage of templating: | |
``` | ||
{ | ||
... | ||
id: "123", | ||
name: "cpu alert", | ||
actions: [ | ||
"id": "123", | ||
"name": "cpu alert", | ||
"actions": [ | ||
{ | ||
"group": "default", | ||
"id": "3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5", | ||
"params": { | ||
"from": "[email protected]", | ||
"to": ["[email protected]"], | ||
"subject": "A notification about {{context.server}}" | ||
"subject": "A notification about {{context.server}}", | ||
"body": "The server {{context.server}} has a CPU usage of {{state.cpuUsage}}%. This message for {{alertInstanceId}} was created by the alert {{alertId}} {{alertName}}." | ||
} | ||
} | ||
|