【问题标题】:Change default Banana dashboard pointer更改默认 Banana 仪表板指针
【发布时间】:2015-08-26 15:41:28
【问题描述】:

我想将默认路由更改为 Banana 默认仪表板。 因为我不想每次启动 Banana 时都加载文件,如果我想使用另一台计算机,我将被拥有……

我不知道在哪里可以找到这个变量,在哪个文件中。

我在 config.js 文件上看到了这个,但我不是很明白:

The default Solr index to use for storing objects internal to Banana, such as 
stored dashboards. If you have been using a collection named kibana-int 
to save your dashboards (the default provided in Banana 1.2 and earlier), then you
simply need to replace the string "banana-int" with "kibana-int" and your old 
dashboards will be accessible. 
This banana-int (or equivalent) collection must be created and available in the 
default solr server specified above, which serves as the persistence store for data 
internal to banana.

有人有想法吗?

【问题讨论】:

    标签: solr configuration banana


    【解决方案1】:

    我找到了解决方案:)。

    它位于 src/app/services 目录中的 dashboards.js 中。我必须通过从我的 Banana 导出的文件更改标记为 default.json 的行,并将其放在 src/app/dasboards 目录中。

    可以在这个地址获取信息:http://blog.trifork.com/2014/05/20/advanced-kibana-dashboard/(它是 Kibana,但 Banana 是 Kibana 的一个分支)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-02-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-29
      • 1970-01-01
      相关资源
      最近更新 更多