更改默认的Banana仪表板指针

时间:2015-08-21 15:15:28

标签: solr configuration 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.

有人有想法吗?

1 个答案:

答案 0 :(得分:2)

我找到了解决办法:)。

位于src / app / services目录中的dashboards.js中。我必须更改标记为default.json的行,这些行是从我的Banana导出的文件,放在src / app / dasboards目录中。

此信息可在以下地址获得:http://blog.trifork.com/2014/05/20/advanced-kibana-dashboard/(这是Kibana,但香蕉是Kibana的叉子)。