kibana仪表板的迁移

Migration of kibana dashboards

我从开发中导出所有可视化和仪表板并导入到生产中。

即使我已经将所有索引模式和所有必需的索引创建到相当于开发的产品中,但我的报告仍然无法正常工作。

当我打开仪表板时,它显示错误,找不到索引。

谁能告诉我在迁移报告时需要做什么来修复?

when I open the dashboard, it showed me the error that, index not found.

一旦 prod 中的 indexdev 中的 index 相同,此问题就会得到解决。

But consider the case that in dev if I made the same visualization with one index pattern and once after import into prod if I change the name of the pattern, means now the pattern is not the same as dev, will my visualization work or if not then what to do in this case.

对于这个问题,在kibana中有一个方法可以解决。当您尝试在 prod 中导入 dev 可视化效果并且未找到匹配的 index pattern 时,您将看到一个 Index Pattern Conflicts 弹出窗口,您可以在其中映射您正在导入的可视化效果prod 中存在任何类似的可用索引,如下所示:

希望这能解决您的问题。