Skip to content

Commit

Permalink
Typos in Readme example (#84391)
Browse files Browse the repository at this point in the history
The last example on the page is not valid json.

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
AndyHunt66 and kibanamachine authored Dec 8, 2020
1 parent 3216fce commit b3bccc2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x-pack/plugins/alerts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}."
}
}
Expand Down

0 comments on commit b3bccc2

Please sign in to comment.