Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Fix post-lifecycle hook example (#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
artificial-aidan authored and jmlrt committed Jan 27, 2021
1 parent 94d85b8 commit 5e9889e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kibana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ This Helm chart is a lightweight way to configure and run our official
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [Requirements](#requirements)
- [Installing](#installing)
- [Install released version using Helm repository](#install-released-version-using-helm-repository)
Expand Down Expand Up @@ -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"}}]}'
```
Expand Down

0 comments on commit 5e9889e

Please sign in to comment.