From 94e389337dcf44edaf1d307afaaa54e4a1d53f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20C=C3=B4t=C3=A9?= Date: Tue, 8 Dec 2020 13:30:17 -0500 Subject: [PATCH] Typos in Readme example (#84391) (#85301) The last example on the page is not valid json. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: AndyHunt66 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- x-pack/plugins/alerts/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/alerts/README.md b/x-pack/plugins/alerts/README.md index 0a112c6ae761..519c50e3f27c 100644 --- a/x-pack/plugins/alerts/README.md +++ b/x-pack/plugins/alerts/README.md @@ -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": "example@elastic.co", "to": ["destination@elastic.co"], - "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}}." } }