From 5e9889e4834f998f25154567b68bb4f610a04e42 Mon Sep 17 00:00:00 2001 From: Aidan <63606283+artificial-aidan@users.noreply.github.com> Date: Wed, 27 Jan 2021 02:05:30 -0800 Subject: [PATCH] Fix post-lifecycle hook example (#1028) --- kibana/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kibana/README.md b/kibana/README.md index b5ced97a7..dc22e565a 100644 --- a/kibana/README.md +++ b/kibana/README.md @@ -9,7 +9,6 @@ This Helm chart is a lightweight way to configure and run our official - - [Requirements](#requirements) - [Installing](#installing) - [Install released version using Helm repository](#install-released-version-using-helm-repository) @@ -195,7 +194,7 @@ lifecycle: # Import a dashboard KB_URL=http://localhost:5601 while [[ "$(curl -s -o /dev/null -w '%{http_code}\n' -L $KB_URL)" != "200" ]]; do sleep 1; done - curl -XPOST "$KB_URL/api/kibana/dashboards/import" -H "Content-Type: application/json" -H 'kbn-xsrf: true' -d'"objects":[{"type":"index-pattern","id":"my-pattern","attributes":{"title":"my-pattern-*"}},{"type":"dashboard","id":"my-dashboard","attributes":{"title":"Look at my dashboard"}}]}' + curl -XPOST "$KB_URL/api/kibana/dashboards/import" -H "Content-Type: application/json" -H 'kbn-xsrf: true' -d'{"objects":[{"type":"index-pattern","id":"my-pattern","attributes":{"title":"my-pattern-*"}},{"type":"dashboard","id":"my-dashboard","attributes":{"title":"Look at my dashboard"}}]}' ```