Adding a page to the navigation bar in Kibana 4

I am trying to add a welcome / intro page in Kibana 4 and need to change the navigation menu. I found the html document of the navigation source in /src/kibana/plugins/kibana/kibana.html but can't figure out where the tab names are being inserted.

Here is the list code block in which the call is 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 with 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 expect there will be a config file there, but I can't find it ...

+3


source to share


1 answer


I added a page in Kibana 4.1.1 like this:

  • copy src/kibana/plugins/settings

    tosrc/kibana/plugins/help

  • delete
    • 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



Then I refactored all the code inside src/kibana/plugins/help

(replace settings

with help

).

Of course this is not the easiest way to do things and is highly discouraged by elastic.co . I hope the maintainable way of doing things doesn't get too far.

+1


source







All Articles