Skip to content

docs: add manage dashboards as code how-to (#5448)#7029

Draft
florent-leborgne wants to merge 1 commit into
mainfrom
docs-issue-5448-dashboards-as-code
Draft

docs: add manage dashboards as code how-to (#5448)#7029
florent-leborgne wants to merge 1 commit into
mainfrom
docs-issue-5448-dashboards-as-code

Conversation

@florent-leborgne

Copy link
Copy Markdown
Member

Summary

This PR addresses #5448 by adding a how-to guide for managing dashboards as version-controlled code. Since the issue was filed, the building blocks it anticipated have landed (the Create dashboards programmatically overview, and the dashboards API-compatible JSON export on the Sharing dashboards page). What was still missing is the end-to-end workflow and the cross-environment practical concerns. This PR fills that gap with a focused, Elastic-specific how-to rather than duplicating the existing overview content.

  • explore-analyze/dashboards/manage-dashboards-as-code.md (new): how-to covering the export → store in Git → review in PRs → deploy workflow, plus managing IDs across environments, references to saved objects, inline vs. library panels, and a pointer to the Terraform provider. Tagged preview 9.4+ / serverless preview to match the dashboards API.
  • explore-analyze/dashboards/building.md: adds a link to the new page from the "Once you have a dashboard, you can also" list.
  • explore-analyze/dashboards/create-dashboards-programmatically.md: adds a prose cross-reference to the new workflow page.
  • explore-analyze/dashboards/sharing.md: adds a cross-reference from the JSON export section.
  • explore-analyze/toc.yml: registers the new page under Building dashboards.

Resolves

Closes #5448

Notes for reviewers

  • Per the issue author's direction, the guide stays concise and Elastic-specific: it leans on the existing API/export pages and the Kibana dashboards as code blog for the workflow narrative, and links out for generic Git/CI and Terraform details rather than reproducing them.
  • The dashboards API is still in technical preview, so the page is scoped accordingly.

AI-generated draft — created with Claude Opus 4.8.
Review all generated content for factual accuracy before merging.

Add a how-to guide for treating dashboards as version-controlled code:
export the dashboards API-compatible JSON, store it in Git, review changes
in pull requests, and deploy across environments. Covers Elastic-specific
concerns (managing IDs across environments, references to saved objects,
inline vs library panels) and points to the Terraform provider.

Add bidirectional cross-links from the building, programmatically, and
sharing pages, plus a toc entry.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add dashboard-as-code / GitOps workflow guide

1 participant