Last Updated: January 29, 2026
By downloading, installing, or using bestKanji ("the App"), you agree to be bound by these Terms of Use. If you do not agree to these terms, do not use the App.
For questions, feedback, or support, please email us at:
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: kibana-import | |
| annotations: | |
| "helm.sh/hook": post-install | |
| "helm.sh/hook-weight": "5" | |
| "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded | |
| spec: | |
| backoffLimit: 0 |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: kibana-data | |
| data: | |
| curl-script.sh: | | |
| #!/bin/sh | |
| #Wait for Kibana to be available & healthy |
| curl - user user:pwd -X POST https://${KIBANA_URL}:${KIBANA_PORT}/api/kibana/dashboards/import?exclude=index-pattern -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d @${DASHBOARD_FILE}.json |
| curl - user user:pwd -X POST https://${KIBANA_URL}:${KIBANA_PORT}/api/saved_objects/_import -H "kbn-xsrf: true" - form file=@${DATA_VIEW_FILE}.ndjson -H 'kbn-xsrf: true' |
| curl - user user:pwd -X GET "https://{KIBANA_URL}:{KIBANA_PORT}/api/kibana/dashboards/export?dashboard={DASHBOARD_ID}" -H 'kbn-xsrf: true' |