Skip to content

Commit b3bccc2

Browse files
AndyHunt66kibanamachine
andauthored
Typos in Readme example (#84391)
The last example on the page is not valid json. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
1 parent 3216fce commit b3bccc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

x-pack/plugins/alerts/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -661,16 +661,16 @@ Below is an example of an alert that takes advantage of templating:
661661
```
662662
{
663663
...
664-
id: "123",
665-
name: "cpu alert",
666-
actions: [
664+
"id": "123",
665+
"name": "cpu alert",
666+
"actions": [
667667
{
668668
"group": "default",
669669
"id": "3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5",
670670
"params": {
671671
"from": "example@elastic.co",
672672
"to": ["destination@elastic.co"],
673-
"subject": "A notification about {{context.server}}"
673+
"subject": "A notification about {{context.server}}",
674674
"body": "The server {{context.server}} has a CPU usage of {{state.cpuUsage}}%. This message for {{alertInstanceId}} was created by the alert {{alertId}} {{alertName}}."
675675
}
676676
}

0 commit comments

Comments
 (0)