Kibana 仪表板版本控制?

Kibana Dashboard version control?

我正在使用 Azure DevOps 进行源代码管理。我正在创建 Kibana 仪表板,想知道它是否也可以使用 Azure DevOps 进行源代码控制。我的想法是:

这样,我在回购中就有了旧的仪表板。有没有人这样做过?不一定非得是 Azure DevOps,如果你有这方面的经验,请与我分享。我是版本控制新手。

(https://docs.logz.io/api/cookbook/backing-up-kibana-objects-to-github.html <这是使用 github)

Kibana Dashboard version control?

首先要指出的是,Azure devops 不是版本控制工具。它提供开发人员服务以支持团队规划工作、协作代码开发以及构建和部署应用程序。开发人员可以使用 Azure DevOps Services 在云端工作,也可以使用 Azure DevOps Server 在本地工作。

并且 Azure repo 支持两种类型的版本控制方法:Git(分布式)和 Team Foundation 版本控制(TFVC):

What is source control?

您可以在创建项目时设置版本控制类型:

之后,我们可以得到repo的URL也是一个git repo:

Git 在 Visual Studio 中,Azure DevOps 是 标准 Gitgithub 是一样.

因此,该文档也适用于 azure devops,我们只需将 github 存储库 link 替换为 azure devops 存储库 link.

In this way, I have old Dashboard in the repo. Has anyone done this?

如果您在 azure devops 存储库中有旧的仪表板,只需将旧的 json 文件克隆到本地并更新 json 文件并通过 [=45= 将其推送到 azure devops ] 命令行。或者您可以直接修改 azure devops repo UI 中的 json 文件。

所以,对于 azure devops,你只需要确保你的 repo 的版本控制是 git,然后你就可以像 git.

一样处理 azure repo