Skip to content

Commit

Permalink
Typos in Readme example (#84391) (#85301)
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]>

Co-authored-by: AndyHunt66 <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
3 people authored Dec 8, 2020
1 parent 1c89d88 commit 94e3893
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 94e3893

Please sign in to comment.