From b3bccc2816c9544758cfab99e26a7e7fe5f3f3f1 Mon Sep 17 00:00:00 2001 From: AndyHunt66 Date: Tue, 8 Dec 2020 16:44:30 +0000 Subject: [PATCH] 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> --- 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 0a112c6ae761a..519c50e3f27c0 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}}." } }