You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugins/alerts/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
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:
661
661
```
662
662
{
663
663
...
664
-
id: "123",
665
-
name: "cpu alert",
666
-
actions: [
664
+
"id": "123",
665
+
"name": "cpu alert",
666
+
"actions": [
667
667
{
668
668
"group": "default",
669
669
"id": "3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5",
670
670
"params": {
671
671
"from": "example@elastic.co",
672
672
"to": ["destination@elastic.co"],
673
-
"subject": "A notification about {{context.server}}"
673
+
"subject": "A notification about {{context.server}}",
674
674
"body": "The server {{context.server}} has a CPU usage of {{state.cpuUsage}}%. This message for {{alertInstanceId}} was created by the alert {{alertId}} {{alertName}}."
0 commit comments