在Kibana 4添加一个页面导航栏 [英] Adding a page to the navigation bar in Kibana 4

查看:238
本文介绍了在Kibana 4添加一个页面导航栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图一个欢迎/介绍页面添加到Kibana 4和需要修改导航菜单。我已经找到了导航源html文件在/src/kibana/plugins/kibana/kibana.html但不能揣摩出标签名正在从注入。

I am attempting to add a welcome/intro page to Kibana 4 and need to modify the navigation menu. I have found the navigation source html document at /src/kibana/plugins/kibana/kibana.html but cannot figure out where the tab names are being injected from.

下面就是呼叫正在上榜code座:

Here is the list code block where the call is being made:

<li ng-repeat="app in apps.inOrder | filter:{show: true}" ng-class="{active: activeApp === app}">
    <a ng-href="#{{app.lastPath}}" bo-text="app.name"></a>
</li>

这关联到的话发现,可视化,仪表盘和设置,如下所示:

Which correlates to the words "Discover", "Visualize", "Dashboard", and "Settings" as shown here:

http://www.elasticsearch.org/content/uploads/2014/10/Screen-Shot-2014-09-30-at-4.07.15-PM.png

我希望那里是一个配置文件,但我似乎无法找到它......

I would expect there to be a configuration file, but I can't seem to find it...

推荐答案

我Kibana 4.1.1这样增加了一个网页:

I added a page in Kibana 4.1.1 like this:


  • 复制的src / kibana /插件/设置的src / kibana /插件/帮助

  • 删除

    • 的src / kibana /插件/帮助/风格

    • 的src / kibana /插件/帮助/ saved_object_registry.js

    • 的src / kibana /插件/帮助/节/高级

    • 的src / kibana /插件/帮助/节/指数

    • 的src / kibana /插件/帮助/节/对象

    • copy src/kibana/plugins/settings to src/kibana/plugins/help
    • remove
      • src/kibana/plugins/help/styles
      • src/kibana/plugins/help/saved_object_registry.js
      • src/kibana/plugins/help/sections/advanced
      • src/kibana/plugins/help/sections/indices
      • src/kibana/plugins/help/sections/objects

      然后我重构所有code 的src / kibana /插件/帮助里面(更换设置帮助)。

      Then I refactored all code inside src/kibana/plugins/help (replace settings with help).

      当然不是做事的最简单的方法,并非常不elastic.co 认可。我希望做的事情不会太遥远的支持方式。

      Surely not the easiest way of doing things, and very much not endorsed by elastic.co. I hope a supported way of doing things will not be too far away.

      这篇关于在Kibana 4添加一个页面导航栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆